@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.
package/build/src/registry.js
CHANGED
|
@@ -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;
|