summaryrefslogtreecommitdiff
path: root/tests/functional/test_scoping/test.tpl
blob: e8a5cf2f40202935de0b0f8849255421afa3f7f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<ste:set var="a">A</ste:set>
<ste:set var="b">B</ste:set>
<ste:mktag name="foo">
	in foo: \$a = $a
	in foo: \$b = $b
	in foo: \$c = $c
	<ste:set var="a">X</ste:set>
	<ste:setlocal var="b">Y</ste:setlocal>
	<ste:set var="c">Z</ste:set>
	in foo (after set): \$a = $a
	in foo (after set): \$b = $b
	in foo (after set): \$c = $c
</ste:mktag>

<ste:foo />
\$a = $a
\$b = $b
\$c = $c