@abaplint/cli 2.113.198 → 2.113.200

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 +12 -5
  2. package/package.json +4 -4
package/build/cli.js CHANGED
@@ -4084,7 +4084,7 @@ const simple_source3_1 = __webpack_require__(/*! ./simple_source3 */ "./node_mod
4084
4084
  const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
4085
4085
  class AssignSource extends combi_1.Expression {
4086
4086
  getRunnable() {
4087
- const component = (0, combi_1.seq)("COMPONENT", (0, combi_1.alt)(simple_source3_1.SimpleSource3, (0, combi_1.ver)(version_1.Version.v740sp02, source_1.Source)), "OF STRUCTURE", source_1.Source);
4087
+ const component = (0, combi_1.seq)("COMPONENT", (0, combi_1.alt)(simple_source3_1.SimpleSource3, (0, combi_1.ver)(version_1.Version.v740sp02, source_1.Source, version_1.Version.OpenABAP)), "OF STRUCTURE", source_1.Source);
4088
4088
  const tableField = (0, combi_1.seq)("TABLE FIELD", (0, combi_1.alt)(source_1.Source, dynamic_1.Dynamic));
4089
4089
  const arrow = (0, combi_1.alt)((0, combi_1.tok)(tokens_1.InstanceArrow), (0, combi_1.tok)(tokens_1.StaticArrow));
4090
4090
  const source = (0, combi_1.alt)((0, combi_1.seq)(source_1.Source, (0, combi_1.opt)((0, combi_1.seq)(arrow, dynamic_1.Dynamic))), component, tableField, (0, combi_1.seq)(dynamic_1.Dynamic, (0, combi_1.opt)((0, combi_1.seq)(arrow, (0, combi_1.alt)(field_1.Field, dynamic_1.Dynamic)))));
@@ -8955,7 +8955,7 @@ const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src
8955
8955
  class SQLSourceNoSpace extends combi_1.Expression {
8956
8956
  getRunnable() {
8957
8957
  const paren = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), _1.Source, (0, combi_1.tok)(tokens_1.WParenRightW));
8958
- const at = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.tok)(tokens_1.At), (0, combi_1.altPrio)(_1.SimpleSource3, paren)));
8958
+ const at = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.tok)(tokens_1.At), (0, combi_1.altPrio)(_1.SimpleSource3, paren)), version_1.Version.OpenABAP);
8959
8959
  return (0, combi_1.alt)(_1.SQLAliasField, _1.SimpleSource3, at);
8960
8960
  }
8961
8961
  }
@@ -25280,9 +25280,9 @@ class ComponentCompare {
25280
25280
  input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
25281
25281
  return;
25282
25282
  }
25283
- component_chain_1.ComponentChain.runSyntax(type, chain, input);
25283
+ const fieldType = component_chain_1.ComponentChain.runSyntax(type, chain, input);
25284
25284
  for (const s of node.findDirectExpressions(Expressions.Source)) {
25285
- source_1.Source.runSyntax(s, input);
25285
+ source_1.Source.runSyntax(s, input, fieldType);
25286
25286
  }
25287
25287
  }
25288
25288
  }
@@ -26134,6 +26134,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
26134
26134
  exports.FilterBody = void 0;
26135
26135
  const Expressions = __webpack_require__(/*! ../../2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
26136
26136
  const source_1 = __webpack_require__(/*! ./source */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/source.js");
26137
+ const component_cond_1 = __webpack_require__(/*! ./component_cond */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/component_cond.js");
26138
+ const basic_1 = __webpack_require__(/*! ../../types/basic */ "./node_modules/@abaplint/core/build/src/abap/types/basic/index.js");
26137
26139
  class FilterBody {
26138
26140
  static runSyntax(node, input, targetType) {
26139
26141
  if (node === undefined) {
@@ -26148,6 +26150,11 @@ class FilterBody {
26148
26150
  source_1.Source.runSyntax(s, input);
26149
26151
  }
26150
26152
  }
26153
+ // todo
26154
+ if (node.findDirectTokenByText("EXCEPT") === undefined) {
26155
+ const rowType = type instanceof basic_1.TableType ? type.getRowType() : undefined;
26156
+ component_cond_1.ComponentCond.runSyntax(node.findDirectExpression(Expressions.ComponentCond), input, rowType);
26157
+ }
26151
26158
  return type ? type : targetType;
26152
26159
  }
26153
26160
  }
@@ -54985,7 +54992,7 @@ class Registry {
54985
54992
  }
54986
54993
  static abaplintVersion() {
54987
54994
  // magic, see build script "version.sh"
54988
- return "2.113.198";
54995
+ return "2.113.200";
54989
54996
  }
54990
54997
  getDDICReferences() {
54991
54998
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.198",
3
+ "version": "2.113.200",
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.198",
41
+ "@abaplint/core": "^2.113.200",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",
@@ -46,8 +46,8 @@
46
46
  "@types/progress": "^2.0.7",
47
47
  "chai": "^4.5.0",
48
48
  "p-limit": "^3.1.0",
49
- "chalk": "^5.6.0",
50
- "eslint": "^9.34.0",
49
+ "chalk": "^5.6.2",
50
+ "eslint": "^9.35.0",
51
51
  "glob": "^11.0.3",
52
52
  "json5": "^2.2.3",
53
53
  "memfs": "^4.38.2",