* deflex.l: Accept single-character symbol names.

This commit is contained in:
DJ Delorie 1999-06-18 19:44:21 +00:00
parent 3336653ad1
commit aab3279588
2 changed files with 5 additions and 1 deletions

View 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

View 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;
}