bug-m4
[Top][All Lists]
Advanced

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

m4 bug?


From: Pavel Aksonov
Subject: m4 bug?
Date: Sun, 26 Nov 2000 02:21:21 +0200

Hello All,

Could you help me?
================================================
define(_if,`<if cond="$1">$2<else/>$3</if>')dnl
define(_goto,`<goto next="#$1"/>')dnl
define(_if_goto,`_if($1,`_goto($1)',`_goto($2)')')dnl
_if_goto(a, b, c)
================================================
Why this cod gives:
<if cond="a"><goto next="#a"/><else/>_goto(b)</if>

instead of

<if cond="a"><goto next="#a"/><else/><goto next="#b"/></if>

?

Thanks.

-- 
Best regards,
 Pavel





reply via email to

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