@abaplint/cli 2.113.72 → 2.113.73

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 -7
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -4346,7 +4346,7 @@ class Color extends combi_1.Expression {
4346
4346
  const texts = (0, combi_1.altPrio)("COL_BACKGROUND", "COL_HEADING", "COL_NORMAL", "COL_TOTAL", "COL_KEY", "COL_POSITIVE", "COL_NEGATIVE", "COL_GROUP");
4347
4347
  const value = (0, combi_1.alt)(eq, (0, combi_1.altPrio)("ON", "OFF", (0, combi_1.altPrio)(integers, texts)));
4348
4348
  const toggle = (0, combi_1.altPrio)("ON", "OFF");
4349
- return (0, combi_1.seq)("COLOR", value, (0, combi_1.opt)(toggle));
4349
+ return (0, combi_1.seq)("COLOR", (0, combi_1.opt)((0, combi_1.seq)(value, (0, combi_1.opt)(toggle))));
4350
4350
  }
4351
4351
  }
4352
4352
  exports.Color = Color;
@@ -5312,7 +5312,7 @@ class FieldSymbol extends combi_1.Expression {
5312
5312
  getRunnable() {
5313
5313
  // todo, this only allows one dash in the name
5314
5314
  const dashes = (0, combi_1.seq)((0, combi_1.regex)(/^<[\w\/%$\*]+$/), (0, combi_1.tok)(tokens_1.Dash), (0, combi_1.regex)(/^[\w\/%$\*]+>$/));
5315
- return (0, combi_1.altPrio)((0, combi_1.regex)(/^<[\w\/%$\*]+>$/), dashes);
5315
+ return (0, combi_1.altPrio)((0, combi_1.regex)(/^<[\w\/%$\*\?]+>$/), dashes);
5316
5316
  }
5317
5317
  }
5318
5318
  exports.FieldSymbol = FieldSymbol;
@@ -8578,7 +8578,7 @@ const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src
8578
8578
  class SQLHints extends combi_1.Expression {
8579
8579
  getRunnable() {
8580
8580
  const type = (0, combi_1.altPrio)("ORACLE", "ADABAS", "AS400", "DB2", "HDB", "MSSQLNT", "SYBASE", "DB6");
8581
- const ret = (0, combi_1.seq)("%_HINTS", (0, combi_1.plus)((0, combi_1.seq)(type, _1.Constant)));
8581
+ const ret = (0, combi_1.seq)("%_HINTS", (0, combi_1.plus)((0, combi_1.seq)(type, (0, combi_1.alt)(_1.Constant, _1.FieldSub))));
8582
8582
  return ret;
8583
8583
  }
8584
8584
  }
@@ -14553,7 +14553,7 @@ class Leave {
14553
14553
  getMatcher() {
14554
14554
  const retu = (0, combi_1.seq)(expressions_1.AndReturn, "TO SCREEN", expressions_1.Source);
14555
14555
  const transaction = (0, combi_1.seq)("TO TRANSACTION", expressions_1.Source, (0, combi_1.opt)("AND SKIP FIRST SCREEN"));
14556
- const ret = (0, combi_1.seq)("LEAVE", (0, combi_1.opt)((0, combi_1.alt)("TO CURRENT TRANSACTION", (0, combi_1.seq)((0, combi_1.opt)("TO"), "LIST-PROCESSING", (0, combi_1.opt)(retu)), "LIST-PROCESSING", "SCREEN", transaction, "PROGRAM", (0, combi_1.seq)("TO SCREEN", expressions_1.Source))));
14556
+ const ret = (0, combi_1.seq)("LEAVE", (0, combi_1.opt)((0, combi_1.alt)((0, combi_1.seq)("TO CURRENT TRANSACTION", (0, combi_1.opt)("AND SKIP FIRST SCREEN")), (0, combi_1.seq)((0, combi_1.opt)("TO"), "LIST-PROCESSING", (0, combi_1.opt)(retu)), "LIST-PROCESSING", "SCREEN", transaction, "PROGRAM", (0, combi_1.seq)("TO SCREEN", expressions_1.Source))));
14557
14557
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
14558
14558
  }
14559
14559
  }
@@ -16208,7 +16208,7 @@ class ScrollList {
16208
16208
  const line = (0, combi_1.seq)("LINE", expressions_1.Source);
16209
16209
  const column = (0, combi_1.seq)("TO COLUMN", expressions_1.Source);
16210
16210
  const to = (0, combi_1.seq)("TO", (0, combi_1.alt)("FIRST PAGE", "LAST PAGE", (0, combi_1.seq)("PAGE", expressions_1.Source)));
16211
- const ret = (0, combi_1.seq)("SCROLL LIST", (0, combi_1.per)(index, (0, combi_1.alt)(to, "BACKWARD", "FORWARD"), (0, combi_1.alt)("LEFT", "RIGHT"), column, line));
16211
+ const ret = (0, combi_1.seq)("SCROLL LIST", (0, combi_1.per)(index, (0, combi_1.alt)(to, "BACKWARD", "FORWARD"), (0, combi_1.seq)((0, combi_1.alt)("LEFT", "RIGHT"), (0, combi_1.opt)((0, combi_1.seq)("BY", expressions_1.Source, "PLACES"))), column, line));
16212
16212
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
16213
16213
  }
16214
16214
  }
@@ -18050,7 +18050,7 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
18050
18050
  class While {
18051
18051
  getMatcher() {
18052
18052
  const vary = (0, combi_1.seq)("VARY", expressions_1.Target, "FROM", expressions_1.Source, "NEXT", expressions_1.Source);
18053
- return (0, combi_1.seq)("WHILE", expressions_1.Cond, (0, combi_1.opt)(vary));
18053
+ return (0, combi_1.seq)("WHILE", expressions_1.Cond, (0, combi_1.star)(vary));
18054
18054
  }
18055
18055
  }
18056
18056
  exports.While = While;
@@ -53331,7 +53331,7 @@ class Registry {
53331
53331
  }
53332
53332
  static abaplintVersion() {
53333
53333
  // magic, see build script "version.sh"
53334
- return "2.113.72";
53334
+ return "2.113.73";
53335
53335
  }
53336
53336
  getDDICReferences() {
53337
53337
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.72",
3
+ "version": "2.113.73",
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.72",
41
+ "@abaplint/core": "^2.113.73",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
@@ -50,7 +50,7 @@
50
50
  "eslint": "^9.16.0",
51
51
  "glob": "^7.2.3",
52
52
  "json5": "^2.2.3",
53
- "memfs": "^4.14.1",
53
+ "memfs": "^4.15.0",
54
54
  "minimist": "^1.2.8",
55
55
  "mocha": "^11.0.1",
56
56
  "progress": "^2.0.3",