diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-04 17:52:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-04 17:52:26 +1200 |
commit | 2ea2afc068dc7330c9696af54ff2dced157f47de (patch) | |
tree | cce72f2ca4ad903e9e0ecd6bd26cac4bf987578b /man | |
parent | Add missing paren (diff) | |
download | dotfiles-2ea2afc068dc7330c9696af54ff2dced157f47de.tar.gz dotfiles-2ea2afc068dc7330c9696af54ff2dced157f47de.zip |
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 'man')
-rw-r--r-- | man/man1/mi5.1df | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/man/man1/mi5.1df b/man/man1/mi5.1df index ca28e75b..04889b94 100644 --- a/man/man1/mi5.1df +++ b/man/man1/mi5.1df @@ -60,11 +60,10 @@ There's no way to escape the delimiters. .P Inline expansions cannot span multiple lines. Use blocks for that. .P -You can't include the closing delimiter %> anywhere within an inline expansion, -even quoted. The parser is too dumb to cope with that. -.P -Doesn't cope at all with `changequote'. If you need that, you should probably -write raw m4. +Doesn't cope at all with `changequote'. The ` and ' quote delimiters are +hardcoded. If you need to change them, you can change the "quote" and "unquote" +vars, but if you're getting to that point then you should probably write raw +m4. .SH SEE ALSO m4(1) .SH AUTHOR |