diff --git a/JetCore.txt b/JetCore.txt index e6ec235..28095bd 100644 --- a/JetCore.txt +++ b/JetCore.txt @@ -8,3 +8,6 @@ modifications. Data contained within the tags may modify their containers before placing any output. The space taken by the tag itself is not passwed to the output and will not appear in the output. +Skip Blank Lines options on containers will skip passing any blank +lines or line containing only whitespace to the output. + diff --git a/__comment.cpp b/__comment.cpp new file mode 100644 index 0000000..685786b --- /dev/null +++ b/__comment.cpp @@ -0,0 +1,12 @@ +#include "__cpmment.h" +#include "Exception.h" + +namespace jet { + + __comment::__comment(coreutils::ZString &in, coreutils::MString &out, Global &global) : Tag(in, out, global) { + if(!hasContainer) + throw coreutils::Exception("comment must have a container."); + output = false; + } + +} diff --git a/__comment.h b/__comment.h new file mode 100644 index 0000000..2fe6a49 --- /dev/null +++ b/__comment.h @@ -0,0 +1,17 @@ +#ifndef ____comment_h__ +#define ____comment_h__ + +#include "Tag.h" + +namespace jet { + + class __comment : public Tag { + + public: + __comment(coreutils::ZString &in, coreutils::MString &out, Global &global); + + }; + +} + +#endif