diff options
Diffstat (limited to 'mfd/lex.l')
-rw-r--r-- | mfd/lex.l | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -315,14 +315,12 @@ vaptr return keyword(VAPTR); string(yytext+1, yyleng - 1); return SYMBOL; } /* Back-references */ <INITIAL,ONBLOCK,ML,CML,STR>\\{P} { yylval.number = strtoul(yytext+1, NULL, 0); return BACKREF; } /* Numeric strings */ -{N}\.{N}\.{N} { string(yytext, yyleng); return XCODE; } -[0-9]{3} { string(yytext, yyleng); return CODE; } 0[xX]{X}{X}* { yylval.number = strtoul(yytext, NULL, 16); return NUMBER; }; 0{O}{O}* { yylval.number = strtoul(yytext, NULL, 8); return NUMBER; }; 0|{P} { yylval.number = strtoul(yytext, NULL, 10); return NUMBER; }; /* Strings */ {IDENT} { int paren_follows = 0; @@ -788,13 +786,13 @@ isemptystr(char *text) for (; *text && c_isspace (*text); text++) ; return *text == 0; } void -onblock(int enable) +tie_in_onblock(int enable) { if (enable) BEGIN(ONBLOCK); else BEGIN(INITIAL); } |