OSDN Git Service

gas/
authorjbeulich <jbeulich>
Mon, 31 Jan 2005 14:26:05 +0000 (14:26 +0000)
committerjbeulich <jbeulich>
Mon, 31 Jan 2005 14:26:05 +0000 (14:26 +0000)
commit463a1cf8219c4458d73bad3770f306b69acb0618
tree70bc3aee1b24d291ae343ffb8fa03ccf8e9d258c
parent82e9341c1c29d483c5111b839a9e508618b9b065
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* macro.c (do_formals): Adjust to no longer accept empty parameter
names.
(define_macro): Adjust to no longer accept empty macro name, garbage
following the parameters, or macros that were previously defined.
* read.c (s_bad_end): Declare.
(potable): Add endm. Handler for endr and endm is s_bad_end.
(s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
and .endr.
* read.h (s_bad_endr): Remove.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/macros/badarg.[ls]: New.
* gas/macros/end.[ls]: New.
* gas/macros/redef.[ls]: New.
* gas/macros/macros.exp (run_list_test): Copy from elsewhere.
Run new tests.
12 files changed:
gas/ChangeLog
gas/macro.c
gas/read.c
gas/read.h
gas/testsuite/ChangeLog
gas/testsuite/gas/macros/badarg.l [new file with mode: 0644]
gas/testsuite/gas/macros/badarg.s [new file with mode: 0644]
gas/testsuite/gas/macros/end.l [new file with mode: 0644]
gas/testsuite/gas/macros/end.s [new file with mode: 0644]
gas/testsuite/gas/macros/macros.exp
gas/testsuite/gas/macros/redef.l [new file with mode: 0644]
gas/testsuite/gas/macros/redef.s [new file with mode: 0644]