@abaplint/core 2.90.11 → 2.90.12
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
|
@@ -1252,14 +1252,6 @@ ${indentation} output = ${topTarget}.`;
|
|
|
1252
1252
|
body += indentation + uniqueName + " = " + base.concatTokens() + ".\n";
|
|
1253
1253
|
}
|
|
1254
1254
|
let end = "";
|
|
1255
|
-
/*
|
|
1256
|
-
for (const forLoop of valueBody?.findDirectExpressions(Expressions.For) || []) {
|
|
1257
|
-
const outlineFor = this.outlineFor(forLoop, indentation, lowFile, highSyntax);
|
|
1258
|
-
body += outlineFor.body;
|
|
1259
|
-
end = outlineFor.end + `.\n` + end;
|
|
1260
|
-
indentation += " ";
|
|
1261
|
-
}
|
|
1262
|
-
*/
|
|
1263
1255
|
let structureName = uniqueName;
|
|
1264
1256
|
let added = false;
|
|
1265
1257
|
let skip = false;
|
|
@@ -1284,6 +1276,9 @@ ${indentation} output = ${topTarget}.`;
|
|
|
1284
1276
|
indentation += " ";
|
|
1285
1277
|
}
|
|
1286
1278
|
else if (b.get() instanceof Expressions.Source) {
|
|
1279
|
+
if ((valueBody === null || valueBody === void 0 ? void 0 : valueBody.getChildren().length) === 1) {
|
|
1280
|
+
body += indentation + uniqueName + " = " + b.concatTokens() + `.\n`;
|
|
1281
|
+
}
|
|
1287
1282
|
structureName = b.concatTokens();
|
|
1288
1283
|
if (base && (valueBody === null || valueBody === void 0 ? void 0 : valueBody.findDirectTokenByText("(")) === undefined) {
|
|
1289
1284
|
structureName = uniqueName;
|