From aab32795883205ad7e79ae1b7aef95d18f3f526a Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 18 Jun 1999 19:44:21 +0000 Subject: [PATCH] * deflex.l: Accept single-character symbol names. --- binutils/ChangeLog | 4 ++++ binutils/deflex.l | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.30.2