@abaplint/core 2.85.38 → 2.85.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,7 +68,7 @@ class Registry {
68
68
  }
69
69
  static abaplintVersion() {
70
70
  // magic, see build script "version.sh"
71
- return "2.85.38";
71
+ return "2.85.39";
72
72
  }
73
73
  getDDICReferences() {
74
74
  return this.references;
@@ -1125,15 +1125,15 @@ ${indentation} output = ${topTarget}.`;
1125
1125
  continue;
1126
1126
  }
1127
1127
  const name = nameToken.getStr();
1128
- const spag = highSyntax.spaghetti.lookupPosition(nameToken.getStart(), lowFile.getFilename());
1129
- if (spag === undefined) {
1130
- continue;
1131
- }
1132
1128
  let type = "";
1133
1129
  if (node.concatTokens().toUpperCase().startsWith("APPEND INITIAL LINE TO ")) {
1134
1130
  type = "LIKE LINE OF " + ((_b = node.findFirstExpression(Expressions.Target)) === null || _b === void 0 ? void 0 : _b.concatTokens());
1135
1131
  }
1136
1132
  else {
1133
+ const spag = highSyntax.spaghetti.lookupPosition(nameToken.getStart(), lowFile.getFilename());
1134
+ if (spag === undefined) {
1135
+ continue;
1136
+ }
1137
1137
  const found = spag.findVariable(name);
1138
1138
  if (found === undefined) {
1139
1139
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.85.38",
3
+ "version": "2.85.39",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",