remove emit
keyword
This commit is contained in:
parent
2f642899f1
commit
d3c0cf6bae
@ -365,7 +365,6 @@ enum {
|
||||
tDEFINED,
|
||||
tDO,
|
||||
tELSE,
|
||||
tEMIT,
|
||||
t__EMIT,
|
||||
tEND,
|
||||
tENUM,
|
||||
|
@ -1693,7 +1693,6 @@ static void parse(void)
|
||||
case 0:
|
||||
/* ignore zero's */
|
||||
break;
|
||||
case tEMIT:
|
||||
case t__EMIT:
|
||||
emit_flags |= efGLOBAL;
|
||||
lex(&val,&str);
|
||||
@ -5405,13 +5404,12 @@ static void statement(int *lastindent,int allow_decl)
|
||||
matchtoken(tSTATIC);
|
||||
decl_enum(sLOCAL,FALSE);
|
||||
break;
|
||||
case tEMIT:
|
||||
case t__EMIT: {
|
||||
extern char *sc_tokens[];
|
||||
const unsigned char *bck_lptr=lptr-strlen(sc_tokens[tok-tFIRST]);
|
||||
if (matchtoken('{')) {
|
||||
emit_flags |= efBLOCK;
|
||||
lastst=tEMIT;
|
||||
lastst=t__EMIT;
|
||||
break;
|
||||
} /* if */
|
||||
lptr=bck_lptr;
|
||||
|
@ -2171,10 +2171,9 @@ char *sc_tokens[] = {
|
||||
"||", "&&", "==", "!=", "<=", ">=", "<<", ">>>", ">>", "++", "--",
|
||||
"...", "..",
|
||||
"assert", "*begin", "break", "case", "char", "const", "continue", "default",
|
||||
"defined", "do", "else", "emit", "__emit", "*end", "enum", "exit", "for",
|
||||
"forward", "goto", "if", "native", "new", "operator", "public", "return",
|
||||
"sizeof", "sleep", "state", "static", "stock", "switch", "tagof", "*then",
|
||||
"while",
|
||||
"defined", "do", "else", "__emit", "*end", "enum", "exit", "for", "forward",
|
||||
"goto", "if", "native", "new", "operator", "public", "return", "sizeof",
|
||||
"sleep", "state", "static", "stock", "switch", "tagof", "*then", "while",
|
||||
"#assert", "#define", "#else", "#elseif", "#emit", "#endif", "#endinput",
|
||||
"#endscript", "#error", "#file", "#if", "#include", "#line", "#pragma",
|
||||
"#tryinclude", "#undef", "#warning",
|
||||
|
@ -1462,7 +1462,6 @@ static int hier2(value *lval)
|
||||
} /* if */
|
||||
return FALSE;
|
||||
} /* case */
|
||||
case tEMIT:
|
||||
case t__EMIT:
|
||||
paranthese=matchtoken('(');
|
||||
emit_flags |= efEXPR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user