Ext fixes #45
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,3 +4,4 @@
|
||||
.vscode/
|
||||
wacc-examples/
|
||||
.idea/
|
||||
**/.temp_wacc_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
BIN
wacc-syntax/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 571 KiB |
@@ -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.
Binary file not shown.
Reference in New Issue
Block a user