diff options
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -351,7 +351,7 @@ var AST_Toplevel = DEFNODE("Toplevel", "globals", { filename: "wrap=" + JSON.stringify(name) }).transform(new TreeTransformer(function(node) { if (node instanceof AST_Directive && node.value == "$ORIG") { - return MAP.splice(body); + return List.splice(body); } })); }, @@ -370,7 +370,7 @@ var AST_Toplevel = DEFNODE("Toplevel", "globals", { filename: "enclose=" + JSON.stringify(args_values) }).transform(new TreeTransformer(function(node) { if (node instanceof AST_Directive && node.value == "$ORIG") { - return MAP.splice(body); + return List.splice(body); } })); } |