aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-02-08 13:27:24 +1030
committerAlan Modra <amodra@gmail.com>2023-02-09 09:02:18 +1030
commit4fd74b5f05e63c5b4e705080c331da961fac7394 (patch)
tree822ca87469256ebaf5e3fcb7c2c98269855dffa9 /gas/expr.c
parent19f988359a62889b00d67fb59ef8c7d6d759fc98 (diff)
downloadgdb-4fd74b5f05e63c5b4e705080c331da961fac7394.zip
gdb-4fd74b5f05e63c5b4e705080c331da961fac7394.tar.gz
gdb-4fd74b5f05e63c5b4e705080c331da961fac7394.tar.bz2
Internal error at gas/expr.c:1814
This is the assertion know (*input_line_pointer != ' '); after calling operand. The usual exit from operand calls SKIP_ALL_WHITESPACE. * expr.c (operand): Call SKIP_ALL_WHITESPACE after call to expr.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 794be6f..189236b 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -996,7 +996,7 @@ operand (expressionS *expressionP, enum expr_mode mode)
}
else
input_line_pointer++;
- SKIP_WHITESPACE ();
+ SKIP_ALL_WHITESPACE ();
/* Here with input_line_pointer -> char after "(...)". */
return segment;