fix: extension fixes for publishing

This commit is contained in:
Guy C
2025-03-14 17:36:51 +00:00
parent af514b3363
commit fde34e88b2
5 changed files with 5 additions and 3 deletions

View File

@@ -40,13 +40,13 @@ function generateErrors(code, filePath) {
let output;
try {
const waccExePath = `${__dirname}/../wacc-compiler`;
output = execSync(`${waccExePath} ${tmpFilePath}`, { encoding: 'utf8', stdio: 'pipe' });
const waccExePath = `${__dirname}/wacc-compiler`;
output = execSync(`${waccExePath} ${tmpFilePath}`, { encoding: 'utf8', shell: true, stdio: 'pipe'});
} catch (err) {
console.log("Error running compiler");
output = err.stdout;
console.log(output);
}
}
let errors = [];
errorRegex = /\(line ([\d]+), column ([\d]+)\):\n([^>]+)([^\^]+)([\^]+)\n([^\n]+)([^\(]*)/g
while((match = errorRegex.exec(output)) !== null) {

BIN
wacc-syntax/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 KiB

View File

@@ -3,6 +3,8 @@
"displayName": "intelliWACC",
"description": "WACC language support features",
"version": "0.0.1",
"publisher": "WACC-37-2025",
"icon": "icon.png",
"engines": {
"vscode": "^1.97.0"
},

Binary file not shown.