diff --git a/__include.cpp b/__include.cpp
index be3b249..b1c0483 100644
--- a/__include.cpp
+++ b/__include.cpp
@@ -9,7 +9,9 @@ namespace jet {
throw coreutils::Exception("file keyword must be specified.");
if(hasContainer)
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();
processContainer(container);
}
diff --git a/jet-2.0 b/jet-2.0
index 1700e06..e042f85 100755
Binary files a/jet-2.0 and b/jet-2.0 differ
diff --git a/testjet.jet b/testjet.jet
index d06ead7..482c6e1 100755
--- a/testjet.jet
+++ b/testjet.jet
@@ -39,7 +39,7 @@
this is the value store in #[name].
this is the value store in #[name].
another container value
-
+
include: $[include]
>>>$[noeval]<<<
>>>$[thename]<<<