[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/TODO
From: |
Gary V . Vaughan |
Subject: |
Changes to m4/TODO |
Date: |
Tue, 08 Feb 2005 10:35:40 -0500 |
Index: m4/TODO
diff -u m4/TODO:1.14 m4/TODO:1.15
--- m4/TODO:1.14 Tue Feb 8 08:31:37 2005
+++ m4/TODO Tue Feb 8 15:35:38 2005
@@ -59,11 +59,37 @@
* FEATURES OR PROBLEMS
- + m4 should keep an ``execution stack'' of macros, which could applications
+ + m4 should keep an ``execution stack'' of macros, which applications could
use in their error messages.
+ Implement discarding comment delimiters with the syntax table.
+ + Implement qindir. Like indir, except that the result of the macro call
+ is not expanded. Because the input stack might contain a file or a
+ string, it is probably best achieved by making note that the TOS input
+ should be copied rather than rescanned.
+
+ $ echo "a'b" > f
+ $ m4
+ define(a,z)dnl
+ include(f)dnl
+ z'b
+ indir(`include', f)dnl
+ z'b
+ qindir(`include', f)dnl
+ a'b
+ patsubst(qindir(`include', f), b, x)
+ z'x
+
+ + Use the TOS input quoting for qindir to fix this bug:
+
+ define(`x', -'-)
+ define(y, defn(`x'))
+ y
+ --'
+ --
+ Stepan Kasal <address@hidden>
+
+ The $ used in user defined macros cannot be changed through
changesyntax. It should be handled as a modifier.