* config/tc-hppa.c (pa_parse_space_stmt): Advance

input_line_pointer when an invalid argument is encountered.
This commit is contained in:
Jeff Law 1993-10-28 23:14:33 +00:00
parent 0689f73a82
commit 3515a504aa
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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;