remove JSON.stringify of unknown generator node types

This commit is contained in:
Sebastian McKenzie 2014-11-30 11:06:42 +11:00
parent 5f21fc2f17
commit 3c9fa13a1f

View File

@ -161,7 +161,7 @@ CodeGenerator.prototype.print = function (node, parent, opts) {
this.printTrailingComments(node, parent);
} else {
throw new ReferenceError("unknown node " + node.type + " " + JSON.stringify(node));
throw new ReferenceError("unknown node " + node.type);
}
};