Skip to content

Commit

Permalink
[enhance] plugins: Set the default syntax for javascript plugins to t…
Browse files Browse the repository at this point in the history
…he new syntax (jsdoc like)
  • Loading branch information
BourgerieQuentin committed Dec 10, 2012
1 parent b106a57 commit a3b650d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/libbsl/bslregister.ml
Expand Up @@ -60,7 +60,7 @@ let js_validator = ref (Some "js")
let js_validator_files = MutableList.create ()
let js_validator_options = MutableList.create ()
let pprocess = ref None
let js_bypass_syntax : [`classic | `jsdoc] ref = ref `classic
let js_bypass_syntax : [`classic | `jsdoc] ref = ref `jsdoc

let cwd = Sys.getcwd ()
let is_default_lib = ref true
Expand Down
2 changes: 1 addition & 1 deletion compiler/opalib/opaEnv.ml
Expand Up @@ -915,7 +915,7 @@ struct

parallelism = !ArgParser.parallelism;
package_version = !ArgParser.package_version;
js_classic_bypass_syntax = !js_bypass_syntax = `classic;
js_classic_bypass_syntax = !js_bypass_syntax = `jsdoc;
backtrace = !ArgParser.backtrace;
}

Expand Down

0 comments on commit a3b650d

Please sign in to comment.