aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/win32-vc.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/win32-vc.js')
-rw-r--r--lib/compilers/win32-vc.js15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/compilers/win32-vc.js b/lib/compilers/win32-vc.js
index 51ed4a9c4..0fb31deaf 100644
--- a/lib/compilers/win32-vc.js
+++ b/lib/compilers/win32-vc.js
@@ -22,21 +22,20 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
-const Win32Compiler = require('./win32'),
- argumentParsers = require('./argument-parsers'),
- AsmParser = require('../asm-parser-vc');
+import { VcAsmParser } from '../asm-parser-vc';
-class Win32VcCompiler extends Win32Compiler {
+import { VCParser } from './argument-parsers';
+import { Win32Compiler } from './win32';
+
+export class Win32VcCompiler extends Win32Compiler {
static get key() { return 'win32-vc'; }
constructor(info, env) {
super(info, env);
- this.asm = new AsmParser(this.compilerProps);
+ this.asm = new VcAsmParser(this.compilerProps);
}
getArgumentParser() {
- return argumentParsers.VC;
+ return VCParser;
}
}
-
-module.exports = Win32VcCompiler;