[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make m4 only call macros surrounded by brackets.
From: |
Zack Piper |
Subject: |
Make m4 only call macros surrounded by brackets. |
Date: |
Sat, 28 Feb 2015 21:37:30 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hello,
I'm currently trying to figure out how to make m4 only call macros within
certain brackets, for example:
```
define(`test', '2')
test
->test
<test>
->2
```
It would be even better if this was possible.
```
define(`test', '2')
<test>
-><test>
<#test>
->2
```
Above is exactly what the `-H` flag does on GPP (Generic Preprocessor)
(http://files.nothingisreal.com/software/gpp/gpp.html).
Any help would be great, thanks!
--
I have nothing fancy or intelligent to put here.
pgpPIIBs9YdMn.pgp
Description: PGP signature
- Make m4 only call macros surrounded by brackets.,
Zack Piper <=