From cf810ca3750f41a45ac442bcd5ceaabaacd5937f Mon Sep 17 00:00:00 2001 From: Filleo Date: Mon, 22 Apr 2024 11:45:50 +0200 Subject: [PATCH] removed spaces --- src/lex/lexer.l | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lex/lexer.l b/src/lex/lexer.l index 49ff6cc..8823195 100644 --- a/src/lex/lexer.l +++ b/src/lex/lexer.l @@ -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); };