aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/m68k-parse.y11
1 files changed, 4 insertions, 7 deletions
diff --git a/gas/config/m68k-parse.y b/gas/config/m68k-parse.y
index f771f09..8bc96d1 100644
--- a/gas/config/m68k-parse.y
+++ b/gas/config/m68k-parse.y
@@ -754,7 +754,6 @@ yylex (void)
int parens;
int c = 0;
int tail = 0;
- char *hold;
if (*str == ' ')
++str;
@@ -913,11 +912,10 @@ yylex (void)
++s;
- hold = input_line_pointer;
- input_line_pointer = s;
+ temp_ilp (s);
expression (&scale);
s = input_line_pointer;
- input_line_pointer = hold;
+ restore_ilp ();
if (scale.X_op != O_constant)
yyerror (_("scale specification must resolve to a number"));
@@ -1071,11 +1069,10 @@ yylex (void)
s[-tail] = 0;
}
- hold = input_line_pointer;
- input_line_pointer = str;
+ temp_ilp (str);
expression (&yylval.exp.exp);
str = input_line_pointer;
- input_line_pointer = hold;
+ restore_ilp ();
if (tail != 0)
{