Add DEBUG_REGEX debugging information.
commit8a5bc4007100cbd296aa642cd42f803a9c23bf71
authorEric Blake <ebb9@byu.net>
Mon, 22 Oct 2007 17:13:32 +0000 (22 11:13 -0600)
committerEric Blake <ebb9@byu.net>
Mon, 22 Oct 2007 17:16:13 +0000 (22 11:16 -0600)
treeee9f984a1465248a5c6bb94ff514d8769fcc9933
parentab8d0f0e20729f31f2295f4d12afda955990297e
Add DEBUG_REGEX debugging information.

* src/m4.h (DEBUG_REGEX): New debug macro.
* src/m4.c (main) [DEBUG_REGEX]: Open regex trace file when
requested.
* src/builtin.c (m4_patsubst, m4_regexp, compile_pattern)
[DEBUG_REGEX]: Trace regex usage.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
src/builtin.c
src/m4.c
src/m4.h