I received a solution - the macro call has to be enclosed in parantheneses.
It seems this is necessary when the output data is within a conditional
block, e.g.
#macro A(B) #if(B=B) (B) #end #end
Another way to solve the problem is to add parantheneses in the macro:
#macro A(B) (#if(B=B) (B) #end) #end
Still, I would like to know the reason for this behaviour.
Margus
Post a reply to this message
|