aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2019-01-08 03:20:30 +0100
committerPartouf <partouf@gmail.com>2019-01-08 03:20:30 +0100
commite892d3506fe977d838ad3a52c2db28c05191950d (patch)
treeef5408f3e30d67feb3972efe94480d01314f7e59 /lib/compilers/golang.js
parent51c36b7b858a7ed7e562cd36f021b098c7b0a962 (diff)
downloadcompiler-explorer-e892d3506fe977d838ad3a52c2db28c05191950d.tar.gz
compiler-explorer-e892d3506fe977d838ad3a52c2db28c05191950d.zip
change argument parser for some compilers
Diffstat (limited to 'lib/compilers/golang.js')
-rw-r--r--lib/compilers/golang.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/compilers/golang.js b/lib/compilers/golang.js
index 7e6af5362..8c298ad38 100644
--- a/lib/compilers/golang.js
+++ b/lib/compilers/golang.js
@@ -23,6 +23,7 @@
// POSSIBILITY OF SUCH DAMAGE.
const BaseCompiler = require('../base-compiler'),
+ argumentParsers = require("./argument-parsers"),
_ = require('underscore'),
utils = require('../utils');
@@ -192,6 +193,10 @@ class GolangCompiler extends BaseCompiler {
}
return execOptions;
}
+
+ getArgumentParser() {
+ return argumentParsers.Clang;
+ }
}
module.exports = GolangCompiler;