Fix MRI mode testsuite failures
authorAlan Modra <amodra@gmail.com>
Mon, 18 Mar 2019 11:46:24 +0000 (22:16 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 18 Mar 2019 12:09:16 +0000 (22:39 +1030)
commitc6cdff46c9d35e0c811e179fc6642ed71473bc66
treeac4259478c1057a1a8e00e8bb0caf3f01e0a8f20
parent8cd1fe1bf525b59f4d07e5790d11d49eee7e8494
Fix MRI mode testsuite failures

These fails were introduced by git commit 2469b3c584 with the
inroduction of "input_from_string":
m68k-linux  FAIL: MRI structured for
m68k-linux  FAIL: MRI structured if
m68k-linux  FAIL: MRI structured repeat
m68k-linux  FAIL: MRI structured while

Since the m68k parser called expression() without setting
input_from_string, get_symbol_name rejected FAKE_LABEL_CHAR in names.

* config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
gas/ChangeLog
gas/config/m68k-parse.y