include tag is not working.
This commit is contained in:
parent
b837c38c2a
commit
8499199592
@ -9,7 +9,9 @@ namespace jet {
|
|||||||
throw coreutils::Exception("file keyword must be specified.");
|
throw coreutils::Exception("file keyword must be specified.");
|
||||||
if(hasContainer)
|
if(hasContainer)
|
||||||
throw coreutils::Exception("include tag should not have a container.");
|
throw coreutils::Exception("include tag should not have a container.");
|
||||||
coreutils::File file(file);
|
hasContainer = true;
|
||||||
|
coreutils::File file(variables["file"]);
|
||||||
|
file.read();
|
||||||
container = file.asZString();
|
container = file.asZString();
|
||||||
processContainer(container);
|
processContainer(container);
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
<set name="noeval" eval="no">this is the value store in #[name].</set>
|
<set name="noeval" eval="no">this is the value store in #[name].</set>
|
||||||
<set name="thename" eval="yes">this is the value store in #[name].</set>
|
<set name="thename" eval="yes">this is the value store in #[name].</set>
|
||||||
<set name="newname" scope="global">another container value</set>
|
<set name="newname" scope="global">another container value</set>
|
||||||
<xinclude file="./testinclude.jet" />
|
<include file="./testinclude.jet" />
|
||||||
include: $[include]
|
include: $[include]
|
||||||
>>>$[noeval]<<<
|
>>>$[noeval]<<<
|
||||||
>>>$[thename]<<<
|
>>>$[thename]<<<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user