From: Jeff Law Date: Thu, 28 Oct 1993 23:14:33 +0000 (+0000) Subject: * config/tc-hppa.c (pa_parse_space_stmt): Advance X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3515a504aa80cc78dbfdcd1a543048e41006076c;p=binutils-gdb.git * config/tc-hppa.c (pa_parse_space_stmt): Advance input_line_pointer when an invalid argument is encountered. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 65276d7fd4f..d52d62b177c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -72,6 +72,9 @@ Thu Oct 28 12:36:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) * config/tc-hppa.c (md_atof): Return a NULL on success rather than an empty string. + * config/tc-hppa.c (pa_parse_space_stmt): Advance + input_line_poitner when an invalid argument is encountered. + Thu Oct 28 13:09:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * config/tc-a29k.c (md_begin): When opcodes are mashed together in diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index aee2c83bdae..03bcee4d7da 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;