diff --git a/__tag.cpp b/__tag.cpp index 0f11183..3299a32 100644 --- a/__tag.cpp +++ b/__tag.cpp @@ -10,7 +10,7 @@ namespace jet { throw coreutils::Exception("tag must have a name."); if(!hasContainer) throw coreutils::Exception("tag requires a container to process."); - global.tags[variables["name"]] = container; + global.tags[variables["name"]] = container; // TODO: process container for further tag definitions. } } diff --git a/tests/testtag.jet b/tests/testtag.jet index 6c4b362..222d2ba 100755 --- a/tests/testtag.jet +++ b/tests/testtag.jet @@ -1,17 +1,22 @@ #!../jet-2.0 + + +
1-$[test] 2-$[test] + #[test]
- + a - + b -
\ No newline at end of file + +