TEACL is a fork of TECOC created for the purpose of describing diffs in a document being collaboratively edited
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
893 B

/*****************************************************************************
ExeCln()
This function handles the colon and double-colon modifiers.
This function implements the modifiers by setting bits in the
CmdMod variable. Commands which are sensitive to colon or double colon
modification check CmdMod explicitly.
*****************************************************************************/
#include "zport.h" /* define portability identifiers */
#include "tecoc.h" /* define general identifiers */
#include "defext.h" /* define external global variables */
DEFAULT ExeCln() /* execute : or :: modifiers */
{
DBGFEN(1,"ExeCln",NULL);
if (CmdMod & COLON) { /* if colon bit is set */
CmdMod &= ~COLON; /* clear colon bit */
CmdMod |= DCOLON; /* set double-colon bit */
} else {
CmdMod |= COLON; /* set colon bit */
}
DBGFEX(1,DbgFNm,"SUCCESS");
return SUCCESS;
}