@abaplint/core 2.113.159 → 2.113.161
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.
|
@@ -11,7 +11,7 @@ class InlineData extends combi_1.Expression {
|
|
|
11
11
|
const left = (0, combi_1.tok)(tokens_1.ParenLeft);
|
|
12
12
|
const data = (0, combi_1.seq)("DATA", left, _1.TargetField, right);
|
|
13
13
|
const final = (0, combi_1.seq)("FINAL", left, _1.TargetField, right);
|
|
14
|
-
return (0, combi_1.altPrio)((0, combi_1.ver)(version_1.Version.v740sp02, data), (0, combi_1.ver)(version_1.Version.v757, final));
|
|
14
|
+
return (0, combi_1.altPrio)((0, combi_1.ver)(version_1.Version.v740sp02, data, version_1.Version.OpenABAP), (0, combi_1.ver)(version_1.Version.v757, final, version_1.Version.OpenABAP));
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.InlineData = InlineData;
|
package/build/src/registry.js
CHANGED
|
@@ -2499,6 +2499,9 @@ ${indentation} output = ${uniqueName}.\n`;
|
|
|
2499
2499
|
outlineData(node, lowFile, highSyntax) {
|
|
2500
2500
|
// hmm, no guard here, as DATA(SDF) is valid in 702
|
|
2501
2501
|
var _a, _b;
|
|
2502
|
+
if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
|
|
2503
|
+
return undefined;
|
|
2504
|
+
}
|
|
2502
2505
|
for (const i of node.findAllExpressionsRecursive(Expressions.InlineData)) {
|
|
2503
2506
|
const nameToken = (_a = i.findDirectExpression(Expressions.TargetField)) === null || _a === void 0 ? void 0 : _a.getFirstToken();
|
|
2504
2507
|
if (nameToken === undefined) {
|