|author||Tom Ryder <firstname.lastname@example.org>||2017-06-04 17:52:26 +1200|
|committer||Tom Ryder <email@example.com>||2017-06-04 17:52:26 +1200|
|parent||Add missing paren (diff)|
Significant improvements to mi5(1df)
A clunkier and probably-slower but more accurate parser--won't stumble over quoted instances of the mi5(1df) delimiter within inline macro expansions. This removes one of the CAVEATS described in the manual page. Also allow specifying the quote and unquote strings and also the dnl string in m4, mostly for completeness' sake; the manual page warns against this as I think it's probably missing the point of mi5(1df) if you're getting to that point.
Diffstat (limited to 'share')
1 files changed, 2 insertions, 0 deletions
diff --git a/share/sample1.mi5 b/share/sample1.mi5
index 686d7787..1e134d8e 100644
@@ -4,4 +4,6 @@
FOO is <% FOO %>. Happy? Here it is again: <% FOO %>.
+If I quote it, though, it doesn't evaluate: <% `FOO' %>.
I hope this has been enlightening for you.
+I can safely comment the opening tags within an inline block, too, look: <% `<%' `%>' %>. Cool, huh?