Pass CompileError to defMacro and defReaderMacro

This commit is contained in:
2021-11-30 12:44:04 -07:00
parent 1191e5bed7
commit a12f0e1936

View File

@@ -414,6 +414,7 @@ class Helpers {
k.macroVars[name] = value;
interp.variables.set(name, value);
});
interp.variables.set("CompileError", CompileError);
function innerRunAtCompileTimeDynamic(innerExp:ReaderExp) {
// in case macroVars have changed