Re: safe define
Werner LEMBERG <[email protected]> Mon, 11 May 2015 20:44:52 +0200 (CEST)
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Message-ID | <[email protected]> |
>> has someone ever written a `safe define' macro that makes the
>> defined macro expands to itself if called without any argument?
>
> Yes, the manual even has a section on how to do it:
> https://www.gnu.org/software/m4/manual/m4.html#Composition
Doh. I've read basically the whole m4 manual, but this section
somehow escaped my attention. Thanks a lot!
Werner