@abaplint/core 2.113.229 → 2.113.230

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.
@@ -108,6 +108,9 @@ class BasicTypes {
108
108
  if (chain === undefined) {
109
109
  chain = node.findFirstExpression(Expressions.SimpleFieldChain);
110
110
  }
111
+ if (chain === undefined) {
112
+ chain = node.findFirstExpression(Expressions.SimpleFieldChain2);
113
+ }
111
114
  if (chain === undefined) {
112
115
  throw new Error("resolveLikeName, chain undefined");
113
116
  }
@@ -15,7 +15,7 @@ class Controls {
15
15
  }
16
16
  if (node.findDirectTokenByText("TABLEVIEW") && token) {
17
17
  const cols = new basic_1.StructureType([
18
- { name: "SCREEN", type: new basic_1.CharacterType(1) }, // todo
18
+ { name: "SCREEN", type: basic_1.VoidType.get("TABLEVIEW-SCREEN") }, // todo
19
19
  { name: "INDEX", type: basic_1.IntegerType.get() },
20
20
  { name: "SELECTED", type: new basic_1.CharacterType(1) },
21
21
  { name: "VISLENGTH", type: basic_1.IntegerType.get() },
@@ -14,7 +14,7 @@ class Ranges {
14
14
  if (typeExpression === undefined) {
15
15
  throw new assert_error_1.AssertError("Ranges, unexpected node");
16
16
  }
17
- const found = new basic_types_1.BasicTypes(input).parseType(typeExpression);
17
+ const found = new basic_types_1.BasicTypes(input).resolveLikeName(typeExpression);
18
18
  if (found && nameToken) {
19
19
  const structure = new basic_1.StructureType([
20
20
  { name: "sign", type: new basic_1.CharacterType(1) },
@@ -17,7 +17,7 @@ class Data {
17
17
  static runSyntax(node, input) {
18
18
  var _a;
19
19
  const fouth = (_a = node.getFirstChild()) === null || _a === void 0 ? void 0 : _a.getChildren()[3];
20
- const isCommonPart = fouth instanceof nodes_1.TokenNode && fouth.concatTokens() === "COMMON";
20
+ const isCommonPart = fouth instanceof nodes_1.TokenNode && fouth.concatTokens().toUpperCase() === "COMMON";
21
21
  if (isCommonPart) {
22
22
  this.runCommonPartSyntax(node, input);
23
23
  return 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.229";
70
+ return "2.113.230";
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.229",
3
+ "version": "2.113.230",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",