2003-04-22 H.J. Lu <hjl@gnu.org>

* app.c (do_scrub_chars): Check for valid label.
This commit is contained in:
H.J. Lu 2003-04-22 17:46:51 +00:00
parent 85eb51104b
commit 2cdb18a769
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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)