@abaplint/core 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.
@@ -11,7 +11,7 @@ class TableExpression extends combi_1.Expression {
11
11
  const key = (0, combi_1.seq)("KEY", _1.SimpleName);
12
12
  const index = (0, combi_1.seq)("INDEX", _1.Source);
13
13
  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)));
14
- return (0, combi_1.ver)(version_1.Version.v740sp02, ret);
14
+ return (0, combi_1.ver)(version_1.Version.v740sp02, ret, version_1.Version.OpenABAP);
15
15
  }
16
16
  }
17
17
  exports.TableExpression = TableExpression;
@@ -5,9 +5,14 @@ const Expressions = require("../../2_statements/expressions");
5
5
  const source_1 = require("./source");
6
6
  class CorrespondingBody {
7
7
  static runSyntax(node, input, targetType) {
8
+ var _a;
8
9
  if (node === undefined) {
9
10
  return targetType;
10
11
  }
12
+ const base = (_a = node.findDirectExpression(Expressions.CorrespondingBodyBase)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(Expressions.Source);
13
+ if (base) {
14
+ source_1.Source.runSyntax(base, input);
15
+ }
11
16
  let type = undefined;
12
17
  for (const s of node.findDirectExpressions(Expressions.Source)) {
13
18
  if (type === undefined) {
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.173";
70
+ return "2.113.174";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.173",
3
+ "version": "2.113.174",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",