m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: safe define


From: Werner LEMBERG
Subject: Re: safe define
Date: Mon, 11 May 2015 20:44:52 +0200 (CEST)

>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]