aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
diff options
context:
space:
mode:
authorChris <christian@vonrueti.ch>2019-06-08 03:02:26 +0200
committerGitHub <noreply@github.com>2019-06-08 03:02:26 +0200
commitdba361f5e56934e87e419ba772eecdc83494eb54 (patch)
tree87ba7e7c180a5beb93b31eadb2fd4b3dd0f15033 /lib/compilers/argument-parsers.js
parent940e0731d37f31a5e0902b6ba2cc57101a451302 (diff)
parent5125d4f2cb8450708369156e2769883c9ce91208 (diff)
downloadcompiler-explorer-dba361f5e56934e87e419ba772eecdc83494eb54.tar.gz
compiler-explorer-dba361f5e56934e87e419ba772eecdc83494eb54.zip
Merge branch 'master' into java-support
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r--lib/compilers/argument-parsers.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js
index 1a95fb617..19717dd2d 100644
--- a/lib/compilers/argument-parsers.js
+++ b/lib/compilers/argument-parsers.js
@@ -66,7 +66,7 @@ class BaseParser {
}
static getOptions(compiler, helpArg) {
- return compiler.exec(compiler.compiler.exe, [helpArg]).then(result => {
+ return compiler.execCompilerCached(compiler.compiler.exe, [helpArg]).then(result => {
let options = {};
if (result.code === 0) {
const optionFinder = /^\s*(--?[a-z0-9=+,[\]<>|-]*)\s*(.*)/i;
@@ -153,7 +153,7 @@ class ISPCParser extends BaseParser {
}
static getOptions(compiler, helpArg) {
- return compiler.exec(compiler.compiler.exe, [helpArg]).then(result => {
+ return compiler.execCompilerCached(compiler.compiler.exe, [helpArg]).then(result => {
let options = {};
if (result.code === 0) {
const optionFinder = /^\s*\[(--?[a-z0-9=+,{}\s[\]<>|-]*)\]\s*(.*)/i;
@@ -238,7 +238,7 @@ class VCParser extends BaseParser {
}
static getOptions(compiler, helpArg) {
- return compiler.exec(compiler.compiler.exe, [helpArg]).then(result => {
+ return compiler.execCompilerCached(compiler.compiler.exe, [helpArg]).then(result => {
let options = {};
if (result.code === 0) {
const optionFinder = /^\s*(\/[a-z0-9=:+#.,[\]{}<>|_-]*)\s*(.*)/i;