From: DJ Delorie Date: Fri, 18 Jun 1999 19:44:21 +0000 (+0000) Subject: * deflex.l: Accept single-character symbol names. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aab32795883205ad7e79ae1b7aef95d18f3f526a;p=binutils-gdb.git * deflex.l: Accept single-character symbol names. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 13122184e12..3e689b9798a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 18 20:17:51 1999 Mumit Khan + + * deflex.l: Accept single-character symbol names. + 1999-06-16 Nick Clifton * readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb diff --git a/binutils/deflex.l b/binutils/deflex.l index 928c42c6b9f..15a43c04f40 100644 --- a/binutils/deflex.l +++ b/binutils/deflex.l @@ -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; }