[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: moving from m4
- From: Xose Manoel Ramos <nospam@thanx>
- Date: Fri, 28 May 1999 18:42:27 +0200
Sorry..
Well, in the last message I gave a change in the code, and now I have
tested, and even if it works perfectly, it gives a warning. And this
is probably very annoying.
Well, there is still another option, and this should work in any
case:
print TMP "m4_define(`m4_noquotes', `m4_changequote(, )m4_dnl')m4_dnl`'\n";
print TMP "m4_define(`m4_quotes', `m4_changequote')m4_dnl`'\n";
Now we add `' to the end of each macro. Normally it is meaningless.
m4 will ignore it because it takes out the quotes. But in case there
is another word beside it, it will help m4 to notice they are
different words.
m4_noquotes()m4_dnl
m4_changequote(, )m4_dnl`'m4_dnl
So the result is empty.
Hope this solution works perfectly and have not other drawback. Just
tell me..
--
Saudos:
><ose xmanoel@bigfoot.com (Vigo/Galicia/Espaņa)
http://pagina.de/xmanoel/
http://w3.to/mikkeli/
05/28 First meeting of COBOL definition cte. (eventually CODASYL), 1959
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com