aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 03f5f8b..fc3b6a3 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -1253,8 +1253,8 @@ operand (expressionS *expressionP, enum expr_mode mode)
expressionP->X_add_symbol = symbol_lookup_or_make (name, start);
expressionP->X_add_number = 0;
- *input_line_pointer = c;
- SKIP_WHITESPACE_AFTER_NAME ();
+ restore_line_pointer (c);
+ SKIP_WHITESPACE ();
if (*input_line_pointer != ')')
as_bad (_("syntax error in .startof. or .sizeof."));
else