Made $[%name] to retrieve keyword values in a tag. Has bugs.

This commit is contained in:
brad Arant committed 2025-01-03 10:50:31 -08:00
1 parent 9622b5cf8c
commit f6dda8496c
17 files changed
+85 -64

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ namespace jet {
if(keywordDefined("expr")) {
if(keywordDefined("eval"))
throw coreutils::Exception("Cannot use eval with expr.");
global.headers[keywords["name"]] = Operand(keywords["expr"], global, parent->variables).string;
global.headers[keywords["name"]] = Operand(keywords["expr"], global, parent->variables, keywords).string;
} else if(hasContainer) {
processContainer(container);
if(evaluate) {