[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