@abaplint/cli 2.102.27 → 2.102.28
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/cli.js +4 -3
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -6953,7 +6953,8 @@ class SimpleTarget extends combi_1.Expression {
|
|
|
6953
6953
|
const clas = (0, combi_1.seq)(_1.ClassName, (0, combi_1.tok)(tokens_1.StaticArrow), attribute_name_1.AttributeName);
|
|
6954
6954
|
const start = (0, combi_1.altPrio)(cast, clas, _1.TargetField, _1.TargetFieldSymbol);
|
|
6955
6955
|
const fields = (0, combi_1.seq)((0, combi_1.optPrio)(_1.FieldOffset), (0, combi_1.optPrio)(_1.FieldLength));
|
|
6956
|
-
|
|
6956
|
+
const optional = (0, combi_1.altPrio)(_1.TableBody, fields);
|
|
6957
|
+
return (0, combi_1.seq)(start, something, optional);
|
|
6957
6958
|
}
|
|
6958
6959
|
}
|
|
6959
6960
|
exports.SimpleTarget = SimpleTarget;
|
|
@@ -48737,7 +48738,7 @@ class Registry {
|
|
|
48737
48738
|
}
|
|
48738
48739
|
static abaplintVersion() {
|
|
48739
48740
|
// magic, see build script "version.sh"
|
|
48740
|
-
return "2.102.
|
|
48741
|
+
return "2.102.28";
|
|
48741
48742
|
}
|
|
48742
48743
|
getDDICReferences() {
|
|
48743
48744
|
return this.ddicReferences;
|
|
@@ -54584,7 +54585,7 @@ ${indentation}CREATE OBJECT ${uniqueName2} EXPORTING textid = ${uniqueName1}.\n`
|
|
|
54584
54585
|
return undefined;
|
|
54585
54586
|
}
|
|
54586
54587
|
const sourceRef = (_a = high.findFirstExpression(Expressions.Source)) === null || _a === void 0 ? void 0 : _a.findFirstExpression(Expressions.CorrespondingBody);
|
|
54587
|
-
if ((sourceRef === null || sourceRef === void 0 ? void 0 : sourceRef.getChildren().length) === 1) {
|
|
54588
|
+
if ((sourceRef === null || sourceRef === void 0 ? void 0 : sourceRef.getChildren().length) === 1 && target.concatTokens().toUpperCase().startsWith("DATA(") === false) {
|
|
54588
54589
|
const code = `MOVE-CORRESPONDING ${sourceRef.concatTokens()} TO ${target.concatTokens()}`;
|
|
54589
54590
|
const start = high.getFirstToken().getStart();
|
|
54590
54591
|
const end = high.getLastToken().getStart();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.102.
|
|
3
|
+
"version": "2.102.28",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.102.
|
|
41
|
+
"@abaplint/core": "^2.102.28",
|
|
42
42
|
"@types/chai": "^4.3.5",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|
|
45
45
|
"@types/mocha": "^10.0.1",
|
|
46
|
-
"@types/node": "^20.5.
|
|
46
|
+
"@types/node": "^20.5.4",
|
|
47
47
|
"@types/progress": "^2.0.5",
|
|
48
48
|
"chai": "^4.3.7",
|
|
49
49
|
"chalk": "^5.3.0",
|