diff options
author | Timothy Moores <info@tmoor.es> | 2021-11-21 13:22:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 14:22:04 +0100 |
commit | 82772f4bbbbfbc0462cf4f29ec80b0036c41d9e6 (patch) | |
tree | b126322eb0a3ad3dd2b624ec335ee419933da34a /lib/compilers/argument-parsers.js | |
parent | 177fee0739be0765ff89ee5d3f1d135e62906883 (diff) | |
download | compiler-explorer-82772f4bbbbfbc0462cf4f29ec80b0036c41d9e6.tar.gz compiler-explorer-82772f4bbbbfbc0462cf4f29ec80b0036c41d9e6.zip |
add support for erlang to beam bytecode (#3094)gh-1286
* add support for erlang to beam bytecode
* changed call by 'this' to overridden functions
* Update base-compiler.js
Co-authored-by: Patrick Quist <partouf@gmail.com>
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r-- | lib/compilers/argument-parsers.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js index 1944711a1..aeed08a50 100644 --- a/lib/compilers/argument-parsers.js +++ b/lib/compilers/argument-parsers.js @@ -157,6 +157,13 @@ export class ClangParser extends BaseParser { } } +export class ErlangParser extends BaseParser { + static async parse(compiler) { + await ErlangParser.getOptions(compiler, '-help'); + return compiler; + } +} + export class PascalParser extends BaseParser { static async parse(compiler) { await PascalParser.getOptions(compiler, '-help'); |