Fix error in parse-js, forgotten in previous renaming.

This commit is contained in:
Jürg Lehni 2011-06-28 16:12:00 +02:00
parent 28921e9a76
commit 3e373dfb21

View file

@ -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 },