%{
/* arlex.l - Strange script language lexer */
-/* Copyright (C) 1992, 95, 1997 Free Software Foundation, Inc.
+/* Copyright 1992, 1997, 2000, 2002 Free Software Foundation, Inc.
This file is part of GNU Binutils.
*/
#define DONTDECLARE_MALLOC
-#include <ansidecl.h>
+#include "ansidecl.h"
#include "libiberty.h"
#include "arparse.h"
+#define YY_NO_UNPUT
+
+extern int yylex PARAMS ((void));
+
int linenumber;
%}
"(" { return '('; }
")" { return ')'; }
"," { return ','; }
-[A-Za-z0-9/$:.\-\_]+ {
+[A-Za-z0-9/\\$:.\-\_]+ {
yylval.name = xstrdup (yytext);
return FILENAME;
}