Fixed scope problem on ResolveKeyword.
This commit is contained in:
parent
f6dda8496c
commit
6959bd8f85
2
Tag.cpp
2
Tag.cpp
@ -111,7 +111,7 @@ namespace jet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Tag::resolveKeyword(coreutils::ZString keyword) {
|
void Tag::resolveKeyword(coreutils::ZString keyword) {
|
||||||
keywords[keyword] = KeywordValue(keywords[keyword], global, parent->local->variables, keywords);
|
keywords[keyword] = KeywordValue(keywords[keyword], global, parent->local->variables, parent->keywords);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tag::processContainer(coreutils::ZString &container) {
|
void Tag::processContainer(coreutils::ZString &container) {
|
||||||
|
@ -65,8 +65,10 @@
|
|||||||
$[ls]
|
$[ls]
|
||||||
<read file="../compile" name="file" />
|
<read file="../compile" name="file" />
|
||||||
$[file]
|
$[file]
|
||||||
<whiledir path="." filename="file" fullpath="fullpath" filenamenoextension="noext" sort="true">
|
<comment>
|
||||||
|
<whiledir path="/var/www" filename="file" fullpath="fullpath" filenamenoextension="noext" sort="true">
|
||||||
$[file] $[fullpath] $[noext]
|
$[file] $[fullpath] $[noext]
|
||||||
</whiledir>
|
</whiledir>
|
||||||
|
</comment>
|
||||||
</html>
|
</html>
|
||||||
</jet>
|
</jet>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user