diff options
author | Partouf <partouf@gmail.com> | 2019-01-08 03:20:30 +0100 |
---|---|---|
committer | Partouf <partouf@gmail.com> | 2019-01-08 03:20:30 +0100 |
commit | e892d3506fe977d838ad3a52c2db28c05191950d (patch) | |
tree | ef5408f3e30d67feb3972efe94480d01314f7e59 /lib/compilers/swift.js | |
parent | 51c36b7b858a7ed7e562cd36f021b098c7b0a962 (diff) | |
download | compiler-explorer-e892d3506fe977d838ad3a52c2db28c05191950d.tar.gz compiler-explorer-e892d3506fe977d838ad3a52c2db28c05191950d.zip |
change argument parser for some compilers
Diffstat (limited to 'lib/compilers/swift.js')
-rw-r--r-- | lib/compilers/swift.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/compilers/swift.js b/lib/compilers/swift.js index ff43f76f2..8a25ae949 100644 --- a/lib/compilers/swift.js +++ b/lib/compilers/swift.js @@ -22,9 +22,13 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -const BaseCompiler = require('../base-compiler'); +const BaseCompiler = require('../base-compiler'), + argumentParsers = require("./argument-parsers"); class SwiftCompiler extends BaseCompiler { + getArgumentParser() { + return argumentParsers.Clang; + } } module.exports = SwiftCompiler; |