aboutsummaryrefslogtreecommitdiff
path: root/gas/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/app.c')
-rw-r--r--gas/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/app.c b/gas/app.c
index e5a7687..aafee2a 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -1344,7 +1344,7 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
else
{
state = 9;
- if (!IS_SYMBOL_COMPONENT (ch))
+ if (ch == EOF || !IS_SYMBOL_COMPONENT (ch))
{
if (ch != EOF)
UNGET (ch);