fixed local scoping on call tag.
This commit is contained in:
1 parent
9a9abab92d
commit
af7080e011
4 files changed
+5
-9
No files matched your search
+1
-3
@@ -2,8 +2,6 @@
|
||||
<jet cgi="true" name1="localname" filterblanklines="true" trimlines="true">
|
||||
<set name="iz" value="8" scope="local" />
|
||||
<for name="ix" start="1" end="10" step="1" scope="local" iz="#[iz]">
|
||||
#[scope]
|
||||
<dump file="dump.txt" />
|
||||
-->[iz]-[iy]-#[ix]<--
|
||||
-->#[ix]<--
|
||||
</for>
|
||||
</jet>
|
||||
+2
-3
@@ -9,15 +9,14 @@ test1=[$[test1]]
|
||||
<set name="var1var" value="Yet another test" />
|
||||
<set name="var11" value="it seems to work." />
|
||||
name1=[#[name1]]
|
||||
$[$[ix]var$[ix];binary]
|
||||
$[$[ix]var$[ix];tobinary]
|
||||
$[var$[ix]]
|
||||
$[var$[ix]var]
|
||||
$[var$[i$[letterx]]var]
|
||||
$[letterx;TOHEX]
|
||||
$[letterx;tohex]
|
||||
$[var$[i$[letterx]]$[ix]]
|
||||
$[var$[i$[letterx]]$[i$[letterx]]]
|
||||
$[ix]
|
||||
<set name="ix" expr="$[ix]+1" />
|
||||
$[ix]
|
||||
#[iy]
|
||||
</jet>
|
||||
Reference in new issue
Block a user