diff --git a/src/compiler.js b/src/compiler.js index 320d3d9..5c1fbc7 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -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);