@abaplint/cli 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.
Files changed (2) hide show
  1. package/build/cli.js +7 -4
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -24168,6 +24168,9 @@ class BasicTypes {
24168
24168
  if (chain === undefined) {
24169
24169
  chain = node.findFirstExpression(Expressions.SimpleFieldChain);
24170
24170
  }
24171
+ if (chain === undefined) {
24172
+ chain = node.findFirstExpression(Expressions.SimpleFieldChain2);
24173
+ }
24171
24174
  if (chain === undefined) {
24172
24175
  throw new Error("resolveLikeName, chain undefined");
24173
24176
  }
@@ -31154,7 +31157,7 @@ class Controls {
31154
31157
  }
31155
31158
  if (node.findDirectTokenByText("TABLEVIEW") && token) {
31156
31159
  const cols = new basic_1.StructureType([
31157
- { name: "SCREEN", type: new basic_1.CharacterType(1) }, // todo
31160
+ { name: "SCREEN", type: basic_1.VoidType.get("TABLEVIEW-SCREEN") }, // todo
31158
31161
  { name: "INDEX", type: basic_1.IntegerType.get() },
31159
31162
  { name: "SELECTED", type: new basic_1.CharacterType(1) },
31160
31163
  { name: "VISLENGTH", type: basic_1.IntegerType.get() },
@@ -33843,7 +33846,7 @@ class Ranges {
33843
33846
  if (typeExpression === undefined) {
33844
33847
  throw new assert_error_1.AssertError("Ranges, unexpected node");
33845
33848
  }
33846
- const found = new basic_types_1.BasicTypes(input).parseType(typeExpression);
33849
+ const found = new basic_types_1.BasicTypes(input).resolveLikeName(typeExpression);
33847
33850
  if (found && nameToken) {
33848
33851
  const structure = new basic_1.StructureType([
33849
33852
  { name: "sign", type: new basic_1.CharacterType(1) },
@@ -35596,7 +35599,7 @@ class Data {
35596
35599
  static runSyntax(node, input) {
35597
35600
  var _a;
35598
35601
  const fouth = (_a = node.getFirstChild()) === null || _a === void 0 ? void 0 : _a.getChildren()[3];
35599
- const isCommonPart = fouth instanceof nodes_1.TokenNode && fouth.concatTokens() === "COMMON";
35602
+ const isCommonPart = fouth instanceof nodes_1.TokenNode && fouth.concatTokens().toUpperCase() === "COMMON";
35600
35603
  if (isCommonPart) {
35601
35604
  this.runCommonPartSyntax(node, input);
35602
35605
  return undefined;
@@ -54724,7 +54727,7 @@ class Registry {
54724
54727
  }
54725
54728
  static abaplintVersion() {
54726
54729
  // magic, see build script "version.sh"
54727
- return "2.113.229";
54730
+ return "2.113.230";
54728
54731
  }
54729
54732
  getDDICReferences() {
54730
54733
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.229",
3
+ "version": "2.113.230",
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.229",
41
+ "@abaplint/core": "^2.113.230",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",