Moved keywords from local variables to keywords map.

This commit is contained in:
brad Arant committed 2025-01-02 16:43:53 -08:00
1 parent 907f449ecc
commit 9622b5cf8c
23 files changed
+221 -220

No files matched your search

+2 -2
View File
@@ -6,10 +6,10 @@
namespace jet {
__dump::__dump(coreutils::ZString &in, coreutils::MString &parentOut, Global &global, Tag *parent, Tag *local) : Tag(in, parentOut, global, parent, local) {
if(!variableDefined("file"))
if(!keywordDefined("file"))
throw coreutils::Exception("file must be sppecified for dump tag.");
std::ofstream outFile(variables["file"].str());
std::ofstream outFile(keywords["file"].str());
outFile << "*** CGI VARIABLES ***" << std::endl;