diff options
author | DJ Delorie <dj@redhat.com> | 1999-06-18 19:44:21 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 1999-06-18 19:44:21 +0000 |
commit | aab32795883205ad7e79ae1b7aef95d18f3f526a (patch) | |
tree | 4acd319e3200ffe441c7822fafb8a0e6c137d331 /binutils/deflex.l | |
parent | 3336653ad1da47adcdcadf5ac5062dac9ac1b243 (diff) | |
download | gdb-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.l | 2 |
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; } |