diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-04-22 17:46:51 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-04-22 17:46:51 +0000 |
commit | 2cdb18a769c71aceca867cfbd0c0f275999edbf1 (patch) | |
tree | 0eec153a9031744a2a6756b6d75abb504d187bb5 /gas | |
parent | 85eb51104bdc2170a835c0198e1e00e1dfe4edfa (diff) | |
download | gdb-2cdb18a769c71aceca867cfbd0c0f275999edbf1.zip gdb-2cdb18a769c71aceca867cfbd0c0f275999edbf1.tar.gz gdb-2cdb18a769c71aceca867cfbd0c0f275999edbf1.tar.bz2 |
2003-04-22 H.J. Lu <hjl@gnu.org>
* app.c (do_scrub_chars): Check for valid label.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/app.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 53b3f66..f65f950 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-04-22 H.J. Lu <hjl@gnu.org> + + * app.c (do_scrub_chars): Check for valid label. + 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> * doc/as.texinfo: Replace references to Mitsubishi M32R with @@ -1297,7 +1297,8 @@ do_scrub_chars (get, tostart, tolen) /* Some relatively `normal' character. */ if (state == 0) { - state = 11; /* Now seeing label definition */ + if (IS_SYMBOL_COMPONENT (ch)) + state = 11; /* Now seeing label definition */ } else if (state == 1) { @@ -1305,7 +1306,7 @@ do_scrub_chars (get, tostart, tolen) } else if (state == 9) { - if (lex[ch] != LEX_IS_SYMBOL_COMPONENT) + if (!IS_SYMBOL_COMPONENT (ch)) state = 3; } else if (state == 10) |