aboutsummaryrefslogtreecommitdiff
path: root/binutils/deflex.l
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/deflex.l
parent3336653ad1da47adcdcadf5ac5062dac9ac1b243 (diff)
downloadgdb-aab32795883205ad7e79ae1b7aef95d18f3f526a.zip
gdb-aab32795883205ad7e79ae1b7aef95d18f3f526a.tar.gz
gdb-aab32795883205ad7e79ae1b7aef95d18f3f526a.tar.bz2
* deflex.l: Accept single-character symbol names.
Diffstat (limited to 'binutils/deflex.l')
-rw-r--r--binutils/deflex.l2
1 files changed, 1 insertions, 1 deletions
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;
}