attempt at getting variables to work.

This commit is contained in:
Brad Arant committed 2024-02-16 15:44:03 -08:00
1 parent 59fe0d5bd6
commit 50270bbc91
8 files changed
+41 -35

No files matched your search

+2 -2
View File
@@ -5,9 +5,9 @@
namespace jet {
__for::__for(coreutils::ZString &in, coreutils::MString &out, Global &global) : Tag(in, out, global) {
if(!keywordExists(coreutils::ZString("begin")))
if(!variableDefined(coreutils::ZString("begin")))
throw coreutils::Exception("begin keyword must be specified.");
if(!keywordExists(coreutils::ZString("end")))
if(!variableDefined(coreutils::ZString("end")))
throw coreutils::Exception("end keyword must be specified.");
for(;;) {