mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
Fix ICE in assembler when passed a bogus input file.
PR gas/20904 * as.h (SKIP_ALL_WHITESPACE): New macro. * expr.c (operand): Use it.
This commit is contained in:
@ -1371,7 +1371,7 @@ operand (expressionS *expressionP, enum expr_mode mode)
|
||||
/* It is more 'efficient' to clean up the expressionS when they are
|
||||
created. Doing it here saves lines of code. */
|
||||
clean_up_expression (expressionP);
|
||||
SKIP_WHITESPACE (); /* -> 1st char after operand. */
|
||||
SKIP_ALL_WHITESPACE (); /* -> 1st char after operand. */
|
||||
know (*input_line_pointer != ' ');
|
||||
|
||||
/* The PA port needs this information. */
|
||||
|
Reference in New Issue
Block a user