@abaplint/cli 2.113.173 → 2.113.174

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.
Files changed (2) hide show
  1. package/build/cli.js +7 -2
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -9200,7 +9200,7 @@ class TableExpression extends combi_1.Expression {
9200
9200
  const key = (0, combi_1.seq)("KEY", _1.SimpleName);
9201
9201
  const index = (0, combi_1.seq)("INDEX", _1.Source);
9202
9202
  const ret = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.BracketLeftW), (0, combi_1.alt)(_1.Source, (0, combi_1.seq)((0, combi_1.optPrio)(key), (0, combi_1.opt)("COMPONENTS"), (0, combi_1.altPrio)(fields, index))), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WBracketRight), (0, combi_1.tok)(tokens_1.WBracketRightW)));
9203
- return (0, combi_1.ver)(version_1.Version.v740sp02, ret);
9203
+ return (0, combi_1.ver)(version_1.Version.v740sp02, ret, version_1.Version.OpenABAP);
9204
9204
  }
9205
9205
  }
9206
9206
  exports.TableExpression = TableExpression;
@@ -25570,9 +25570,14 @@ const Expressions = __webpack_require__(/*! ../../2_statements/expressions */ ".
25570
25570
  const source_1 = __webpack_require__(/*! ./source */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/source.js");
25571
25571
  class CorrespondingBody {
25572
25572
  static runSyntax(node, input, targetType) {
25573
+ var _a;
25573
25574
  if (node === undefined) {
25574
25575
  return targetType;
25575
25576
  }
25577
+ const base = (_a = node.findDirectExpression(Expressions.CorrespondingBodyBase)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(Expressions.Source);
25578
+ if (base) {
25579
+ source_1.Source.runSyntax(base, input);
25580
+ }
25576
25581
  let type = undefined;
25577
25582
  for (const s of node.findDirectExpressions(Expressions.Source)) {
25578
25583
  if (type === undefined) {
@@ -54846,7 +54851,7 @@ class Registry {
54846
54851
  }
54847
54852
  static abaplintVersion() {
54848
54853
  // magic, see build script "version.sh"
54849
- return "2.113.173";
54854
+ return "2.113.174";
54850
54855
  }
54851
54856
  getDDICReferences() {
54852
54857
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.173",
3
+ "version": "2.113.174",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.173",
41
+ "@abaplint/core": "^2.113.174",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",