diff --git a/src/kiss/Helpers.hx b/src/kiss/Helpers.hx index 09dd481..2b83485 100644 --- a/src/kiss/Helpers.hx +++ b/src/kiss/Helpers.hx @@ -272,7 +272,7 @@ class Helpers { // TODO if an internal evaluation ever needs to end before its outer evaluation is done, // this will cause problems because the old args will be overwritten and lost - interps[-1].variables.set("args", args); // trippy + interps[-1].variables.set("__args__", args); // trippy if (args != null) { for (arg => value in args) { interps[-1].variables.set(arg, value); diff --git a/src/kiss/Kiss.hx b/src/kiss/Kiss.hx index fd25a10..2873e4e 100644 --- a/src/kiss/Kiss.hx +++ b/src/kiss/Kiss.hx @@ -234,7 +234,7 @@ class Kiss { case Quasiquote(innerExp): // This statement actually turns into an HScript expression before running macro { - Helpers.evalUnquotes($v{innerExp}, k, args).def; + Helpers.evalUnquotes($v{innerExp}, k, __args__).def; }; default: throw CompileError.fromExp(exp, 'conversion not implemented');