aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>1999-06-18 19:44:21 +0000
committerDJ Delorie <dj@redhat.com>1999-06-18 19:44:21 +0000
commitaab32795883205ad7e79ae1b7aef95d18f3f526a (patch)
tree4acd319e3200ffe441c7822fafb8a0e6c137d331 /binutils
parent3336653ad1da47adcdcadf5ac5062dac9ac1b243 (diff)
downloadgdb-aab32795883205ad7e79ae1b7aef95d18f3f526a.zip
gdb-aab32795883205ad7e79ae1b7aef95d18f3f526a.tar.gz
gdb-aab32795883205ad7e79ae1b7aef95d18f3f526a.tar.bz2
* deflex.l: Accept single-character symbol names.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/deflex.l2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1312218..3e689b9 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/deflex.l b/binutils/deflex.l
index 928c42c..15a43c0 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;
}