* doc/Makefile.am (config.texi): Emit a @set UPDATED command to
[deliverable/binutils-gdb.git] / binutils / arlex.l
index 2fd94da4dd82f9d84d2de07454059239faf2fc57..ab1ff164e1909e072034c38a0a6ccbeaaa002d9a 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, 2002, 2003 Free Software Foundation, Inc.
 
 This file is part of GNU Binutils.
 
@@ -25,10 +25,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 */
 #define DONTDECLARE_MALLOC
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include "libiberty.h"
 #include "arparse.h"
 
+#define YY_NO_UNPUT
+
+extern int yylex (void);
+
 int linenumber;
 %}
 
@@ -71,7 +75,7 @@ int linenumber;
 "("             { return '('; }
 ")"             { return ')'; }
 ","             { return ','; }
-[A-Za-z0-9/$:.\-\_]+  {        
+[A-Za-z0-9/\\$:.\-\_]+  {      
                yylval.name =  xstrdup (yytext);
                return FILENAME;
                }
@@ -83,5 +87,5 @@ int linenumber;
 %%
 #ifndef yywrap
 /* Needed for lex, though not flex. */
-int yywrap() { return 1; }
+int yywrap(void) { return 1; }
 #endif
This page took 0.026944 seconds and 4 git commands to generate.