diff options
Diffstat (limited to 'binutils/arlex.l')
-rw-r--r-- | binutils/arlex.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/arlex.l b/binutils/arlex.l index 1e8fbda..28f61b4 100644 --- a/binutils/arlex.l +++ b/binutils/arlex.l @@ -33,7 +33,7 @@ #ifndef YY_NO_UNPUT #define YY_NO_UNPUT #endif - + extern int yylex (void); int linenumber; @@ -78,14 +78,14 @@ int linenumber; "(" { return '('; } ")" { return ')'; } "," { return ','; } -[A-Za-z0-9/\\$:.\-\_]+ { +[A-Za-z0-9/\\$:.\-\_]+ { yylval.name = xstrdup (yytext); return FILENAME; } "*".* { } ";".* { } " " { } -"\n" { linenumber ++; return NEWLINE; } +"\n" { linenumber ++; return NEWLINE; } %% #ifndef yywrap |