/*****************************************************************************

	ExeIll()

	This function "executes" an illegal command.

*****************************************************************************/

#include "ZPort.h"		/* define portability identifiers */
#include "DefError.h"		/* define identifiers for error messages */
#include "DefTeco.h"		/* define general identifiers */

extern	VOID	ErrMsg();	/* display an error message */

EXTERN	char	*CBfPtr;	/* pointer into command string */


DEFAULT ExeIll()				/* illegal TECO command */

{
	static char *ErrTxt = "x";

	*ErrTxt = *CBfPtr;
	ErrMsg(ERR_ILL, ErrTxt);	/* ILL = illegal command */
	return(FAILURE);
}
