From 3515a504aa80cc78dbfdcd1a543048e41006076c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 28 Oct 1993 23:14:33 +0000 Subject: * config/tc-hppa.c (pa_parse_space_stmt): Advance input_line_pointer when an invalid argument is encountered. --- gas/config/tc-hppa.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gas/config') 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; -- cgit v1.1