gas/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 19 Aug 2013 19:09:01 +0000 (19:09 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 19 Aug 2013 19:09:01 +0000 (19:09 +0000)
commite3de51ce1105cd1d8bfbbe6e298233098822996a
tree81ff097b0d9d9af8440c9c15a9dc9dbecacee5d1
parent97d874919c0c24e505691a49858335632bc9272e
gas/
* config/tc-mips.c (mips_insn_error_format): New enum.
(mips_insn_error): New struct.
(insn_error): Change to a mips_insn_error.
(clear_insn_error, set_insn_error_format, set_insn_error)
(set_insn_error_i, set_insn_error_ss, report_insn_error): New
functions.
(mips_parse_argument_token, md_assemble, match_insn)
(match_mips16_insn): Use them instead of manipulating insn_error
directly.
(mips_ip, mips16_ip): Likewise.  Simplify control flow.

gas/testsuite/
* gas/mips/micromips-ill.l: Expect "floating-point expression required"
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/micromips-ill.l