aboutsummaryrefslogtreecommitdiff
path: root/binutils/arlex.l
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-08-12 04:42:37 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-12 04:42:37 -0700
commit3aade68889268c7d15e121d6d63cb1b753ec12fa (patch)
tree9fe7a6ce752b4a79bbdaa9bed60c5044c2a3f80c /binutils/arlex.l
parent3739860c11a9cfcdaa4d5d204ea3536784de7bb3 (diff)
downloadgdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.zip
gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.gz
gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.bz2
Remove trailing spaces in binutils
Diffstat (limited to 'binutils/arlex.l')
-rw-r--r--binutils/arlex.l6
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