m4: avoid spurious output with unrecognized format specifiers.
commit2fb0cd6641e3223474ac2487605938cfafc7f540
authorGary V. Vaughan <gary@gnu.org>
Tue, 17 Sep 2013 14:26:23 +0000 (17 21:26 +0700)
committerGary V. Vaughan <gary@gnu.org>
Tue, 17 Sep 2013 15:08:36 +0000 (17 22:08 +0700)
tree4e95311a6b7f293da0e5adae732ad9daa1c795b5
parent95d7405a7540f91f67a505fa6458bde3d8e31f79
m4: avoid spurious output with unrecognized format specifiers.

* modules/format.c (format): Advance the loop invariants past an
unrecognized format specifier to avoid printing the specifier
character on the next pass.
* doc/m4.texi (Format): Don't expect unrecognized specifiers to
be output by format macro.
* tests/null.out: Don't expect unrecognized null specifier to be
output.
* tests/generate.awk (new_test): Treat `ignore' in expected error
output the same as Autotest.
* doc/m4.texi (Format): Use special `ignore' string rather than
unsupported @comment xerr magic.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
doc/m4.texi
modules/format.c
tests/generate.awk
tests/null.out