diff options
author | H.J. Lu <hjl@lucon.org> | 2003-04-22 17:46:51 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2003-04-22 17:46:51 +0000 |
commit | 075939008ec558aafe6d1d04a97e19b8e0185b07 (patch) | |
tree | cb5985a89de4d155d3c93ae94e4b6ca8d5729c5d /gas/app.c | |
parent | a9b6c1bb431d814a3fbc2332dc45ce1ade34a98b (diff) | |
download | binutils-redhat-075939008ec558aafe6d1d04a97e19b8e0185b07.tar.gz |
2003-04-22 H.J. Lu <hjl@gnu.org>
* app.c (do_scrub_chars): Check for valid label.
Diffstat (limited to 'gas/app.c')
-rw-r--r-- | gas/app.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |