* deflex.l: Accept single-character symbol names.
authorDJ Delorie <dj@redhat.com>
Fri, 18 Jun 1999 19:44:21 +0000 (19:44 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 18 Jun 1999 19:44:21 +0000 (19:44 +0000)
binutils/ChangeLog
binutils/deflex.l

index 13122184e1219e1ad3a23cc65d385309bd8bacca..3e689b9798aa7f4432734cfc60cdb3a952e55d15 100644 (file)
@@ -1,3 +1,7 @@
+Fri Jun 18 20:17:51 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * deflex.l: Accept single-character symbol names.
+
 1999-06-16  Nick Clifton  <nickc@cygnus.com>
 
        * readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb
index 928c42c6b9fee46abdf70cd40a0a6b2c72f9a4ab..15a43c04f40df056d55b1b0f64b07f5dd3cd0d9e 100644 (file)
@@ -61,7 +61,7 @@ int linenumber;
 [0-9][x0-9A-Fa-f]* { yylval.number = strtol (yytext,0,0); 
                return NUMBER; }
 
-[A-Za-z$:\-\_?][A-Za-z0-9/$:\-\_@?]+ {         
+[A-Za-z$:\-\_?][A-Za-z0-9/$:\-\_@?]* {         
                yylval.id =  xstrdup (yytext);
                return ID;
                }