diff options
author | Jeff Law <law@redhat.com> | 1993-10-28 23:14:33 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-10-28 23:14:33 +0000 |
commit | 3515a504aa80cc78dbfdcd1a543048e41006076c (patch) | |
tree | 54e7ca1478cf13b85d54c5b93cac5851d1218f07 /gas/config | |
parent | 0689f73a824156b2589e8c4fdfe7bb4af1f96eaf (diff) | |
download | gdb-3515a504aa80cc78dbfdcd1a543048e41006076c.zip gdb-3515a504aa80cc78dbfdcd1a543048e41006076c.tar.gz gdb-3515a504aa80cc78dbfdcd1a543048e41006076c.tar.bz2 |
* config/tc-hppa.c (pa_parse_space_stmt): Advance
input_line_pointer when an invalid argument is encountered.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-hppa.c | 7 |
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; |