aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2019-08-13 22:42:09 +0200
committerPartouf <partouf@gmail.com>2019-08-13 22:42:09 +0200
commit69dbe9928140f9a1f7c833a23cfe64bac697052f (patch)
treeb4fc77b86fe4ff2e702314d03d9404397c7ba56b /lib/compilers/argument-parsers.js
parent69a43f7feecc898add18de670a8d9c705e03e687 (diff)
downloadcompiler-explorer-69dbe9928140f9a1f7c833a23cfe64bac697052f.tar.gz
compiler-explorer-69dbe9928140f9a1f7c833a23cfe64bac697052f.zip
fix ispc argument parser
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r--lib/compilers/argument-parsers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js
index 93de5f6a9..383aa2aa7 100644
--- a/lib/compilers/argument-parsers.js
+++ b/lib/compilers/argument-parsers.js
@@ -156,7 +156,7 @@ class ISPCParser extends BaseParser {
return compiler.execCompilerCached(compiler.compiler.exe, [helpArg]).then(result => {
let options = {};
if (result.code === 0) {
- const optionFinder = /^\s*\[(--?[a-z0-9=+,{}\s[\]<>|-]*)\]\s*(.*)/i;
+ const optionFinder = /^\s*\[(--?[a-z0-9=+,{}()\s<>/|-]*)\]\s*(.*)/i;
options = BaseParser.parseLines(result.stdout + result.stderr, optionFinder);
}