diff --git a/wacc-compiler b/wacc-compiler new file mode 100755 index 0000000..a23eea8 Binary files /dev/null and b/wacc-compiler differ diff --git a/wacc-syntax/extension.js b/wacc-syntax/extension.js index 5641e55..0c3f3ec 100644 --- a/wacc-syntax/extension.js +++ b/wacc-syntax/extension.js @@ -40,7 +40,7 @@ function generateErrors(code, filePath) { let output; try { - const waccExePath = `${__dirname}/wacc-compiler`; + const waccExePath = `${__dirname}/../wacc-compiler`; output = execSync(`${waccExePath} ${tmpFilePath}`, { encoding: 'utf8', stdio: 'pipe' }); } catch (err) { console.log("Error running compiler");