bug-m4
[Top][All Lists]
Advanced

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

Cannot insert sharps


From: Matthieu Pupat
Subject: Cannot insert sharps
Date: Thu, 30 Sep 2004 10:39:28 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.2) Gecko/20040803

     Hello,

I try a simple macro that prepone a sharp (#) before names beginning with i or o and quoting other names :

define(`QuoteVariable', `ifelse(substr($1,0,1), i, #$1, ifelse(substr($1,0,1), o, #$1, "$1" ) ) ')

QuoteVariable(iTestI);
QuoteVariable(oTestO);
QuoteVariable(lTestL);

If I replace my sharps by A for example this works fine.

There I get the message:

m4: file "Test.m4": line 5: EOF in arg list


Is this a bug ?
What can I do to get rid of this ?

--
Matthieu PUPAT
Digital Product Simulation
Téléphone : +33 (0)5 62 12 03 88 (interne 7014)
Fax : +33 (0)5 62 12 03 89





reply via email to

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