aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-hppa.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index aee2c83..03bcee4 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -5116,7 +5116,12 @@ pa_parse_space_stmt (space_name, create_flag)
private = TRUE;
}
else
- as_bad ("Invalid .SPACE argument");
+ {
+ as_bad ("Invalid .SPACE argument");
+ *input_line_pointer = c;
+ if (! is_end_of_statement ())
+ input_line_pointer++;
+ }
}
}
print_errors = TRUE;