* arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
[deliverable/binutils-gdb.git] / binutils / arlex.l
index 74e13d13dfe295a88589e73088694d6179363d87..4e2895cdc9caf5712a7a152b26a867c21e75ef1a 100644 (file)
@@ -1,7 +1,7 @@
 %{
 /* arlex.l - Strange script language lexer */
 
-/*   Copyright (C) 1992, 95, 1997 Free Software Foundation, Inc.
+/*   Copyright 1992, 1997, 2000 Free Software Foundation, Inc.
 
 This file is part of GNU Binutils.
 
@@ -31,6 +31,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 int linenumber;
 %}
+
+%a 10000
+%o 25000
+
 %%
 
 "ADDLIB"       { return ADDLIB; }
@@ -67,7 +71,7 @@ int linenumber;
 "("             { return '('; }
 ")"             { return ')'; }
 ","             { return ','; }
-[A-Za-z0-9/$:.\-\_]+  {        
+[A-Za-z0-9/\\$:.\-\_]+  {      
                yylval.name =  xstrdup (yytext);
                return FILENAME;
                }
This page took 0.025748 seconds and 4 git commands to generate.