summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-05-07 11:22:07 -0600
committerEric Blake <ebb9@byu.net>2008-05-07 11:22:38 -0600
commitd74cecd6377345903ba25c9d9b82729324fbbcf8 (patch)
treeb2dea0023ebed5b6047a30f4b5a230d8acbc6eeb
parentc2a2811a8b81dac7b090dcd6f584742fed6dd085 (diff)
downloadm4-d74cecd6377345903ba25c9d9b82729324fbbcf8.tar.gz
Test for traceon regression just fixed in branch-1.6.
* doc/m4.texinfo (Trace): Enhance test. * NEWS: Port news item from branch. Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r--ChangeLog6
-rw-r--r--NEWS4
-rw-r--r--doc/m4.texinfo10
3 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3470af11..2f39b0e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-07 Eric Blake <ebb9@byu.net>
+
+ Test for traceon regression just fixed in branch-1.6.
+ * doc/m4.texinfo (Trace): Enhance test.
+ * NEWS: Port news item from branch.
+
2008-05-05 Eric Blake <ebb9@byu.net>
Stage 22: allow builtin token concatenation outside $@.
diff --git a/NEWS b/NEWS
index 35440ee0..fd3bb094 100644
--- a/NEWS
+++ b/NEWS
@@ -212,6 +212,10 @@ promoted to 2.0.
* Noteworthy changes in Version 1.6 (????-??-??) [stable]
Released by ????, based on git version 1.4.10b.x-*
+** Fix regression introduced in 1.4.4b where using `traceon' could delete
+ a macro. This was most noticeable with `traceon(`traceon')', but
+ would also happen in cases such as `foo(traceon(`foo'))'.
+
** Fix regression introduced in 1.4.10b (but not present in 1.4.11) where
using `builtin' or `indir' to perform nested `shift' calls triggered an
assertion failure.
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index e4467659..7bdfa666 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -3896,6 +3896,16 @@ does not transfer tracing status.
@example
$ @kbd{m4 -d}
+traceon(`traceon')
+@result{}
+traceon(`traceoff')
+@error{}m4trace: -1- traceon(`traceoff') -> `'
+@result{}
+traceoff(`traceoff')
+@error{}m4trace: -1- traceoff(`traceoff') -> `'
+@result{}
+traceoff(`traceon')
+@result{}
traceon(`eval', `m4_divnum')
@result{}
define(`m4_eval', defn(`eval'))