X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=binutils%2Farlex.l;h=381b177cc0224534c5b70cef13e2aa6676669201;hb=20ae00985d69195b9f777f19fe0c113672ba2f1c;hp=74e13d13dfe295a88589e73088694d6179363d87;hpb=252b5132c753830d5fd56823373aed85f2a0db63;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/arlex.l b/binutils/arlex.l index 74e13d13df..381b177cc0 100644 --- a/binutils/arlex.l +++ b/binutils/arlex.l @@ -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. @@ -29,8 +29,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "libiberty.h" #include "arparse.h" +#define YY_NO_UNPUT + +extern int yylex PARAMS ((void)); + int linenumber; %} + +%a 10000 +%o 25000 + %% "ADDLIB" { return ADDLIB; } @@ -67,7 +75,7 @@ int linenumber; "(" { return '('; } ")" { return ')'; } "," { return ','; } -[A-Za-z0-9/$:.\-\_]+ { +[A-Za-z0-9/\\$:.\-\_]+ { yylval.name = xstrdup (yytext); return FILENAME; }