Pass |options| to compiler passes

redux
David Majda 13 years ago
parent 53f70b9eb9
commit 44852fa6b4

@ -21,7 +21,7 @@ PEG.compiler = {
var that = this;
each(this.appliedPassNames, function(passName) {
that.passes[passName](ast);
that.passes[passName](ast, options);
});
var source = this.emitter(ast, options);

Loading…
Cancel
Save