bug-m4
[Top][All Lists]
Advanced

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

parsing issue ?


From: Longuet JeanCharles
Subject: parsing issue ?
Date: Mon, 19 May 2008 19:44:33 +0200

Not sure if this is really a bug or a misunderstanding of mine :

I am using the following m4 file :
define(`M4_DEF',`something')dnl
ifdef(`M4_DEF',A,B)dnl
ifdef(`M4_DEF',C,D)`'dnl

output is the following :
> Adnl
> C

while I expected :
> AC

The 'dnl' token on the second line is not handled, while it is on the others 
(the last line being a test where we force a token separator). I am wrong about 
the expected output ?


PS: Not sure this is related, but I did this test with the last version 
(1.4.11) of m4, and a "make test" failed with :
FAIL: test-fseeko.sh
test-ftello.c:92: assertion failed
./test-ftello.sh: line 3: 22529 Aborted                 ./test-ftello${EXEEXT} 
1 <"$srcdir/test-ftello.sh"
FAIL: test-ftello.sh

 Host info :
        Linux 2.4.18
        glibc 2.2.5
        gcc 2.95.3


--
 Jean-Charles Longuet



Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra 
être recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos Origin group liability cannot be triggered 
for the message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.





reply via email to

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