Skip to content

Commit 8eec2d1

Browse files
committed
Merge branch 'develop'
2 parents e37e3ce + a87d029 commit 8eec2d1

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.4.2 (July 6, 2022)
2+
- Fix a bug if an undefined symbol crashes the validator
3+
14
## 0.4.1 (July 5, 2022)
25
- Fix a bug when using custom keywords for semantic highlighting
36

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "macro-executor",
33
"displayName": "Macro Executor Language",
44
"description": "Fanuc Macro-Executor Programming Language",
5-
"version": "0.4.1",
5+
"version": "0.4.2",
66
"author": "iSorp",
77
"publisher": "iSorp",
88
"license": "MIT",
@@ -103,6 +103,11 @@
103103
"command": "macro.action.addsequeces",
104104
"title": "%macro.action.addsequeces%",
105105
"category": "Macro"
106+
},
107+
{
108+
"command": "macro.validate.workspace",
109+
"title": "%macro.validate.workspace%",
110+
"category": "Macro"
106111
}
107112
],
108113
"menus": {

server/src/macroLanguageService/parser/macroNodes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,8 @@ export class DefReference extends Reference {
573573
}
574574

575575
public getNonSymbolText(): string {
576-
return this.definition?.value?.getText();
576+
return this.definition?.value?.getText() ?? ''
577+
;
577578
}
578579
}
579580

0 commit comments

Comments
 (0)