aboutsummaryrefslogtreecommitdiff
path: root/mfd/lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'mfd/lex.l')
-rw-r--r--mfd/lex.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/mfd/lex.l b/mfd/lex.l
index 3ceabfce..c1f9c3e8 100644
--- a/mfd/lex.l
+++ b/mfd/lex.l
@@ -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);
}

Return to:

Send suggestions and report system problems to the System administrator.