aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
diff options
context:
space:
mode:
authorPatrick Quist <partouf@gmail.com>2022-06-24 22:07:40 +0200
committerGitHub <noreply@github.com>2022-06-24 22:07:40 +0200
commit5452166ae1b890ad93b2f931eec2bfed53789467 (patch)
tree61bb1e0cd8e493749d451c3fd8dd21c8e771528a /lib/compilers/argument-parsers.js
parent3bc192287d406a7f1e6dc03e8719bb4c8ca93d08 (diff)
downloadcompiler-explorer-5452166ae1b890ad93b2f931eec2bfed53789467.tar.gz
compiler-explorer-5452166ae1b890ad93b2f931eec2bfed53789467.zip
Toit (#3808)gh-3459
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r--lib/compilers/argument-parsers.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js
index 98641f47a..bec330b87 100644
--- a/lib/compilers/argument-parsers.js
+++ b/lib/compilers/argument-parsers.js
@@ -354,3 +354,10 @@ export class TurboCParser extends BaseParser {
return compiler;
}
}
+
+export class ToitParser extends BaseParser {
+ static async parse(compiler) {
+ await ToitParser.getOptions(compiler, '-help');
+ return compiler;
+ }
+}