Permalink
Browse files

[fix] options: propagate js_classic_bypass_syntax option.

We now pass the js_classic_bypass_syntax option to the plugin compiler
when it is called from the opa compiler instead of the plugin
builder. This option wasn't being set before.
  • Loading branch information...
arthuraa committed Aug 16, 2012
1 parent 9fab1e8 commit 41c3f288c5bd94e3e61f6b690686caad8fe2edf0
Showing with 1 addition and 1 deletion.
  1. +1 −1 compiler/opa/pass_PluginCompilation.ml
@@ -52,7 +52,7 @@ let process env =
modular_plugins = false;
unsafe_js = false;
unsafe_opa = false;
- js_classic_bypass_syntax = true;
+ js_classic_bypass_syntax = env.PH.options.O.js_classic_bypass_syntax;
} in
let session = BR.create ~options in

0 comments on commit 41c3f28

Please sign in to comment.