Ensure M4 compiles correctly with -DDEBUG, and use a single
commiteffb2c16f18b6a13394e8a35733ee1bc482f5d89
authorGary V. Vaughan <gary@gnu.org>
Mon, 17 Jul 2006 12:37:21 +0000 (17 12:37 +0000)
committerEric Blake <ebb9@byu.net>
Sat, 6 Oct 2007 12:52:19 +0000 (6 06:52 -0600)
treee1bfd5ca7ebf8cb52f3a2e741223534575319dfd
parent7ba704ec5ac668044e936b60f3de5a67c878e88d
Ensure M4 compiles correctly with -DDEBUG, and use a single
consistent definition of various /DEBUG_[A-Z]+/ symbols:

* m4/input.c: Have commented out out DEBUG_INPUT only by default.
(m4_print_token): Use m4_get_symbol_value_text and
m4_get_symbol_value_func calls instead of obsolescent VALUE_TEXT
and VALUE_FUNC respectively.
(m4__next_token): Use m4_print_token call instead of obsolescent
print_token symbol.
* m4/module.c: Have commented out out DEBUG_MODULE only by default.
* m4/output.c: Similarly for DEBUG_OUTPUT.
* m4/path.c: Similarly for DEBUG_INCL.
* m4/symtax.c: Similarly for DEBUG_SYM.
* m4/syntax.c: Similarly for DEBUG_SYNTAX.
* src/stackovf.c: Similarly for DEBUG_STACKOVF.
* m4/m4private.h (DEBUG): Add DEBUG_OUTPUT and DEBUG_STACKOVF to
preprocessor macros defined with -DDEBUG compiles.
ChangeLog
m4/input.c
m4/m4private.h
m4/module.c
m4/output.c
m4/path.c
m4/symtab.c
m4/syntax.c
src/stackovf.c