From 3e373dfb2118805bffd7df231a7d764ad745cc5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 28 Jun 2011 16:12:00 +0200 Subject: [PATCH] Fix error in parse-js, forgotten in previous renaming. --- lib/parse-js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/parse-js.js b/lib/parse-js.js index e6996da0..7b085701 100644 --- a/lib/parse-js.js +++ b/lib/parse-js.js @@ -1505,7 +1505,7 @@ function gen_code(ast, beautify) { "new": function(ctor, args) { args = args.length > 0 ? "(" + add_commas(MAP(args, make)) + ")" : ""; return add_spaces([ "new", parenthesize(ctor, "seq", "binary", "conditional", "assign", function(expr){ - var w = walker(), has_call = {}; + var w = ast_walker(), has_call = {}; try { w.with_walkers({ "call": function() { throw has_call },