@abaplint/cli 2.110.0 → 2.110.1

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 +6 -3
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -39843,7 +39843,10 @@ const cds_association_1 = __webpack_require__(/*! ./cds_association */ "./node_m
39843
39843
  const cds_join_1 = __webpack_require__(/*! ./cds_join */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_join.js");
39844
39844
  class CDSSelect extends combi_1.Expression {
39845
39845
  getRunnable() {
39846
- return (0, combi_1.seq)("SELECT", (0, combi_1.opt)("DISTINCT"), "FROM", _1.CDSSource, (0, combi_1.opt)(_1.CDSParametersSelect), (0, combi_1.opt)(_1.CDSAs), (0, combi_1.star)(cds_join_1.CDSJoin), (0, combi_1.star)(_1.CDSComposition), (0, combi_1.star)(cds_association_1.CDSAssociation), (0, combi_1.star)(_1.CDSComposition), (0, combi_1.str)("{"), (0, combi_1.plus)(_1.CDSElement), (0, combi_1.star)((0, combi_1.seq)(",", _1.CDSElement)), (0, combi_1.str)("}"), (0, combi_1.opt)(_1.CDSGroupBy), (0, combi_1.opt)(_1.CDSWhere), (0, combi_1.opt)((0, combi_1.seq)("UNION", (0, combi_1.opt)("ALL"), CDSSelect)));
39846
+ const fields = (0, combi_1.opt)((0, combi_1.seq)((0, combi_1.star)((0, combi_1.seq)(_1.CDSElement, ",")), _1.CDSElement));
39847
+ const distinct = (0, combi_1.str)("DISTINCT");
39848
+ const elements = (0, combi_1.seq)((0, combi_1.str)("{"), (0, combi_1.plus)(_1.CDSElement), (0, combi_1.star)((0, combi_1.seq)(",", _1.CDSElement)), (0, combi_1.str)("}"));
39849
+ return (0, combi_1.seq)("SELECT", (0, combi_1.opt)(distinct), (0, combi_1.opt)(fields), "FROM", _1.CDSSource, (0, combi_1.opt)(_1.CDSParametersSelect), (0, combi_1.opt)(_1.CDSAs), (0, combi_1.star)(cds_join_1.CDSJoin), (0, combi_1.star)(_1.CDSComposition), (0, combi_1.star)(cds_association_1.CDSAssociation), (0, combi_1.star)(_1.CDSComposition), (0, combi_1.opt)(elements), (0, combi_1.opt)(_1.CDSGroupBy), (0, combi_1.opt)(_1.CDSWhere), (0, combi_1.opt)((0, combi_1.seq)("UNION", (0, combi_1.opt)("ALL"), CDSSelect)));
39847
39850
  }
39848
39851
  }
39849
39852
  exports.CDSSelect = CDSSelect;
@@ -51774,7 +51777,7 @@ class Registry {
51774
51777
  }
51775
51778
  static abaplintVersion() {
51776
51779
  // magic, see build script "version.sh"
51777
- return "2.110.0";
51780
+ return "2.110.1";
51778
51781
  }
51779
51782
  getDDICReferences() {
51780
51783
  return this.ddicReferences;
@@ -66984,7 +66987,7 @@ ENDIF.`,
66984
66987
  const children = statementNode.getChildren();
66985
66988
  const sourceString = children[1].concatTokens();
66986
66989
  const targetString = children[3].concatTokens();
66987
- let operator = children[2].concatTokens();
66990
+ let operator = children[2].concatTokens().toUpperCase();
66988
66991
  if (operator === "TO") {
66989
66992
  operator = " = ";
66990
66993
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.110.0",
3
+ "version": "2.110.1",
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.110.0",
41
+ "@abaplint/core": "^2.110.1",
42
42
  "@types/chai": "^4.3.16",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",