@abaplint/transpiler-cli 2.11.78 → 2.11.80

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/bundle.js +12 -5
  2. package/package.json +3 -3
package/build/bundle.js CHANGED
@@ -2985,7 +2985,7 @@ const simple_source3_1 = __webpack_require__(/*! ./simple_source3 */ "./node_mod
2985
2985
  const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
2986
2986
  class AssignSource extends combi_1.Expression {
2987
2987
  getRunnable() {
2988
- 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);
2988
+ 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);
2989
2989
  const tableField = (0, combi_1.seq)("TABLE FIELD", (0, combi_1.alt)(source_1.Source, dynamic_1.Dynamic));
2990
2990
  const arrow = (0, combi_1.alt)((0, combi_1.tok)(tokens_1.InstanceArrow), (0, combi_1.tok)(tokens_1.StaticArrow));
2991
2991
  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)))));
@@ -7856,7 +7856,7 @@ const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src
7856
7856
  class SQLSourceNoSpace extends combi_1.Expression {
7857
7857
  getRunnable() {
7858
7858
  const paren = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), _1.Source, (0, combi_1.tok)(tokens_1.WParenRightW));
7859
- 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)));
7859
+ 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);
7860
7860
  return (0, combi_1.alt)(_1.SQLAliasField, _1.SimpleSource3, at);
7861
7861
  }
7862
7862
  }
@@ -24181,9 +24181,9 @@ class ComponentCompare {
24181
24181
  input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
24182
24182
  return;
24183
24183
  }
24184
- component_chain_1.ComponentChain.runSyntax(type, chain, input);
24184
+ const fieldType = component_chain_1.ComponentChain.runSyntax(type, chain, input);
24185
24185
  for (const s of node.findDirectExpressions(Expressions.Source)) {
24186
- source_1.Source.runSyntax(s, input);
24186
+ source_1.Source.runSyntax(s, input, fieldType);
24187
24187
  }
24188
24188
  }
24189
24189
  }
@@ -25035,6 +25035,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
25035
25035
  exports.FilterBody = void 0;
25036
25036
  const Expressions = __webpack_require__(/*! ../../2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
25037
25037
  const source_1 = __webpack_require__(/*! ./source */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/source.js");
25038
+ const component_cond_1 = __webpack_require__(/*! ./component_cond */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/component_cond.js");
25039
+ const basic_1 = __webpack_require__(/*! ../../types/basic */ "./node_modules/@abaplint/core/build/src/abap/types/basic/index.js");
25038
25040
  class FilterBody {
25039
25041
  static runSyntax(node, input, targetType) {
25040
25042
  if (node === undefined) {
@@ -25049,6 +25051,11 @@ class FilterBody {
25049
25051
  source_1.Source.runSyntax(s, input);
25050
25052
  }
25051
25053
  }
25054
+ // todo
25055
+ if (node.findDirectTokenByText("EXCEPT") === undefined) {
25056
+ const rowType = type instanceof basic_1.TableType ? type.getRowType() : undefined;
25057
+ component_cond_1.ComponentCond.runSyntax(node.findDirectExpression(Expressions.ComponentCond), input, rowType);
25058
+ }
25052
25059
  return type ? type : targetType;
25053
25060
  }
25054
25061
  }
@@ -53886,7 +53893,7 @@ class Registry {
53886
53893
  }
53887
53894
  static abaplintVersion() {
53888
53895
  // magic, see build script "version.sh"
53889
- return "2.113.198";
53896
+ return "2.113.200";
53890
53897
  }
53891
53898
  getDDICReferences() {
53892
53899
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.11.78",
3
+ "version": "2.11.80",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -27,8 +27,8 @@
27
27
  "author": "abaplint",
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
- "@abaplint/core": "^2.113.198",
31
- "@abaplint/transpiler": "^2.11.78",
30
+ "@abaplint/core": "^2.113.200",
31
+ "@abaplint/transpiler": "^2.11.80",
32
32
  "@types/glob": "^8.1.0",
33
33
  "@types/node": "^24.3.1",
34
34
  "@types/progress": "^2.0.7",