diff options
author | Akim Demaille <akim@epita.fr> | 2000-11-01 17:02:34 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2000-11-01 17:02:34 +0000 |
commit | 701a1dde55e08adb7526135ca18cfdae41f4218c (patch) | |
tree | fc2d00291f4d1ba8668714e1c5df12b19aaa1608 /TODO | |
parent | bbccbf1adb634d5cd943ffbc4657c0bf7ab97f7c (diff) | |
download | autoconf-701a1dde55e08adb7526135ca18cfdae41f4218c.tar.gz |
GNU M4 1.4 improperly handle the traces of copies of builtins.
* autoconf.sh (task trace): When tracing `BUILTIN' also trace
`m4_BUILTIN'.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 27 |
1 files changed, 25 insertions, 2 deletions
@@ -131,13 +131,36 @@ error.m4, obstack.m4, ptrdiff.m4, strtod.m4, termios.m4, winsz.m4. * m4 -** m4 +** I18n The error messages for indir and dumpdef are uselessly different. Fix this for translators. -** m4 +** Tracing `builtin' F**k! --trace FOO does not catch indir([FOO], $@)! +** Tracing builtins +GNU M4 1.4's tracing of builtins is buggy. When run on this input: + +| divert(-1) +| changequote([, ]) +| define([m4_eval], defn([eval])) +| eval(1) +| m4_eval(2) +| undefine([eval]) +| m4_eval(3) + +it behaves this way: + +| % m4 input.m4 -da -t eval +| m4trace: -1- eval(1) +| m4trace: -1- m4_eval(2) +| m4trace: -1- m4_eval(3) +| % + +Conversely: + +| % m4 input.m4 -da -t m4_eval +| % ------------------------------------------------------------------------------ |