removed spaces
This commit is contained in:
parent
a0a91d6c78
commit
cf810ca375
|
@ -7,13 +7,11 @@
|
|||
int yylex();
|
||||
%}
|
||||
|
||||
|
||||
/* disable the following functions */
|
||||
/* to avoid failing code check */
|
||||
%option nounput
|
||||
%option noinput
|
||||
|
||||
|
||||
%%
|
||||
"\n" yyLineNumber++;
|
||||
|
||||
|
@ -76,7 +74,6 @@
|
|||
"lineno" {DEBUG("\"%s\" tokenized with \'FunLineno\'", yytext); return(FunLineno);};
|
||||
"extsupport" {DEBUG("\"%s\" tokenized with \'FunExtsupport\'", yytext); return(FunExtsupport);};
|
||||
|
||||
|
||||
[0-9]+ {DEBUG("\"%s\" tokenized with \'ValInt\'", yytext); yylval.string = strdup(yytext); return(ValInt); };
|
||||
[0-9]*\.[0-9]+ {DEBUG("\"%s\" tokenized with \'ValFloat\'", yytext); yylval.string = strdup(yytext); return(ValFloat);};
|
||||
[a-zA-Z_0-9]+ {DEBUG("\"%s\" tokenized with \'Ident\'", yytext); yylval.string = strdup(yytext); return(Ident); };
|
||||
|
|
Loading…
Reference in New Issue