diff options
author | jaredwy <jared.wyles@gmail.com> | 2017-09-01 19:46:27 +1000 |
---|---|---|
committer | jaredwy <jared.wyles@gmail.com> | 2017-09-01 19:46:27 +1000 |
commit | 573ff1027f5109a7996c1db8ba0c04ff0d8f92e0 (patch) | |
tree | 729036d42e79d8b24e8cfbf16bf6f47d7f574130 /lib/compilers/haskell.js | |
parent | 716ce60b16bafdd03b49bffd548179fb9886ec9c (diff) | |
download | compiler-explorer-573ff1027f5109a7996c1db8ba0c04ff0d8f92e0.tar.gz compiler-explorer-573ff1027f5109a7996c1db8ba0c04ff0d8f92e0.zip |
Allow options for filters to look at useroptions this allows us to add/remove options per compiler such as for rust where we need to not add the --emit argument if the user has passed us one
Diffstat (limited to 'lib/compilers/haskell.js')
-rw-r--r-- | lib/compilers/haskell.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/haskell.js b/lib/compilers/haskell.js index 02013de9f..a4080192f 100644 --- a/lib/compilers/haskell.js +++ b/lib/compilers/haskell.js @@ -2,7 +2,7 @@ var Compile = require('../base-compiler'); function compileHaskell(info, env) { var compiler = new Compile(info, env); - compiler.optionsForFilter = function (filters, outputFilename) { + compiler.optionsForFilter = function (filters, outputFilename, userOptions) { return ['-S', '-g', '-o', this.filename(outputFilename)]; }; return compiler.initialise(); |