diff options
author | Eric Blake <ebb9@byu.net> | 2009-02-11 08:49:43 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-02-11 10:52:15 -0700 |
commit | 052319b635abea0efba90930031d9c0899dcb0a8 (patch) | |
tree | 70c268274901649ddcd11ba2c9d5dd59305b84c8 | |
parent | 3aa86615d46144acfff9b7ff60cdec4f7cc2a43d (diff) | |
download | m4-052319b635abea0efba90930031d9c0899dcb0a8.tar.gz |
Avoid regression in popdef(undef).
* doc/m4.texinfo (Trace): Enhance test, to cover regression
recently fixed on the branch.
Signed-off-by: Eric Blake <ebb9@byu.net>
(cherry picked from commit f35224878771517f1d7c13568c1b65a59e7908a4)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/m4.texinfo | 12 |
2 files changed, 17 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2009-02-11 Eric Blake <ebb9@byu.net> + + Avoid regression in popdef(undef). + * doc/m4.texinfo (Trace): Enhance test, to cover regression + recently fixed on the branch. + 2009-02-09 Eric Blake <ebb9@byu.net> Enhance index to support starting offset. diff --git a/doc/m4.texinfo b/doc/m4.texinfo index 093f3952..f972b48b 100644 --- a/doc/m4.texinfo +++ b/doc/m4.texinfo @@ -4238,6 +4238,16 @@ foo defn(`foo') @error{}m4:stdin:4: Warning: defn: undefined macro `foo' @result{} +undefine(`foo') +@error{}m4:stdin:5: Warning: undefine: undefined macro `foo' +@result{} +pushdef(`foo') +@result{} +popdef(`foo') +@result{} +popdef(`foo') +@error{}m4:stdin:8: Warning: popdef: undefined macro `foo' +@result{} define(`foo', `bar') @result{} foo @@ -4248,7 +4258,7 @@ undefine(`foo') ifdef(`foo', `yes', `no') @result{}no indir(`foo') -@error{}m4:stdin:9: Warning: indir: undefined macro `foo' +@error{}m4:stdin:13: Warning: indir: undefined macro `foo' @result{} define(`foo', `blah') @result{} |