You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[% MACRO show( n ) BLOCK %]
value="[% n %]"
[% END %]
[%
x=5;
show(x);
show(x+2);
show(x-2);
show(x*2);
show(x/2);
%]
The parser fails on the x/2 line, similar to #314. If I comment out that line, then the x-2 line parses OK, but the incorrect value is passed to the macro:
value="5"
value="7"
value="5"
value="10"
It's like the x-2 passed parsing, but only passed the value of x to the macro. At the very least, the parser should fail is it does in #314, but here it silently passeds the incorrect. alue.
The text was updated successfully, but these errors were encountered:
In this template:
The parser fails on the
x/2
line, similar to #314. If I comment out that line, then thex-2
line parses OK, but the incorrect value is passed to the macro:It's like the
x-2
passed parsing, but only passed the value ofx
to the macro. At the very least, the parser should fail is it does in #314, but here it silently passeds the incorrect. alue.The text was updated successfully, but these errors were encountered: