@abaplint/cli 2.113.59 → 2.113.60

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 +19 -12
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -4949,7 +4949,7 @@ const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/co
4949
4949
  const tokens_1 = __webpack_require__(/*! ../../1_lexer/tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
4950
4950
  class DefinitionName extends combi_1.Expression {
4951
4951
  getRunnable() {
4952
- const r = (0, combi_1.regex)(/^&|&?((\w*\/\w+\/)|(\w*\/\w+\/)?[\w\*$%]+)$/);
4952
+ const r = (0, combi_1.regex)(/^&|&?((\w*\/\w+\/)|(\w*\/\w+\/)?[\w\*$%\?]+)$/);
4953
4953
  return (0, combi_1.seq)(r, (0, combi_1.starPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.Dash), (0, combi_1.optPrio)(r))), (0, combi_1.optPrio)((0, combi_1.tok)(tokens_1.DashW)));
4954
4954
  }
4955
4955
  }
@@ -6928,7 +6928,7 @@ exports.NamespaceSimpleName = void 0;
6928
6928
  const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
6929
6929
  class NamespaceSimpleName extends combi_1.Expression {
6930
6930
  getRunnable() {
6931
- return (0, combi_1.regex)(/^((\w*\/\w+\/)|(\w*\/\w+\/)?[\w\*$%]+)$/);
6931
+ return (0, combi_1.regex)(/^((\w*\/\w+\/)|(\w*\/\w+\/)?[\w\*$%#]+)$/);
6932
6932
  }
6933
6933
  }
6934
6934
  exports.NamespaceSimpleName = NamespaceSimpleName;
@@ -11885,7 +11885,7 @@ class DeleteMemory {
11885
11885
  const memory = (0, combi_1.seq)("MEMORY ID", expressions_1.Source);
11886
11886
  const id = (0, combi_1.seq)("ID", expressions_1.Source);
11887
11887
  const client = (0, combi_1.seq)("CLIENT", expressions_1.Source);
11888
- const shared = (0, combi_1.seq)("SHARED MEMORY", expressions_1.Field, "(", expressions_1.Field, ")", (0, combi_1.optPrio)(client), id);
11888
+ const shared = (0, combi_1.seq)("SHARED", (0, combi_1.altPrio)("MEMORY", "BUFFER"), expressions_1.Field, "(", expressions_1.Field, ")", (0, combi_1.optPrio)(client), id);
11889
11889
  const ret = (0, combi_1.seq)("DELETE FROM", (0, combi_1.alt)(memory, shared));
11890
11890
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
11891
11891
  }
@@ -14212,7 +14212,7 @@ class Infotypes {
14212
14212
  getMatcher() {
14213
14213
  const occurs = (0, combi_1.seq)("OCCURS", expressions_1.Constant);
14214
14214
  const name = (0, combi_1.seq)("NAME", expressions_1.Field);
14215
- const ret = (0, combi_1.seq)("INFOTYPES", expressions_1.Constant, (0, combi_1.optPrio)(occurs), (0, combi_1.optPrio)(name));
14215
+ const ret = (0, combi_1.seq)("INFOTYPES", expressions_1.Constant, (0, combi_1.optPrio)(occurs), (0, combi_1.optPrio)(name), (0, combi_1.optPrio)("MODE N"));
14216
14216
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
14217
14217
  }
14218
14218
  }
@@ -14860,7 +14860,9 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
14860
14860
  const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
14861
14861
  class ModifyLine {
14862
14862
  getMatcher() {
14863
- const form = (0, combi_1.seq)((0, combi_1.alt)("INVERSE", "INPUT", "COLOR"), "=", expressions_1.Source);
14863
+ const onOff = (0, combi_1.alt)("ON", "OFF");
14864
+ const eq = (0, combi_1.seq)("=", expressions_1.Source);
14865
+ const form = (0, combi_1.seq)((0, combi_1.alt)("INVERSE", "INPUT", "COLOR"), (0, combi_1.alt)(eq, onOff));
14864
14866
  const from = (0, combi_1.seq)("FROM", expressions_1.Source);
14865
14867
  const value = (0, combi_1.seq)("FIELD VALUE", (0, combi_1.plus)((0, combi_1.seq)(expressions_1.Source, (0, combi_1.optPrio)(from))));
14866
14868
  const format = (0, combi_1.seq)("FIELD FORMAT", expressions_1.Source, (0, combi_1.opt)(form));
@@ -14868,8 +14870,7 @@ class ModifyLine {
14868
14870
  const index = (0, combi_1.seq)("INDEX", expressions_1.Source);
14869
14871
  const page = (0, combi_1.seq)("OF PAGE", expressions_1.Source);
14870
14872
  const ocp = (0, combi_1.str)("OF CURRENT PAGE");
14871
- const lineFormat = (0, combi_1.seq)("LINE FORMAT", (0, combi_1.per)("INPUT OFF", "INVERSE", "RESET", "INTENSIFIED", "COLOR COL_NORMAL"));
14872
- const onOff = (0, combi_1.alt)("ON", "OFF");
14873
+ const lineFormat = (0, combi_1.seq)("LINE FORMAT", (0, combi_1.per)("INPUT OFF", "INVERSE", "RESET", "INTENSIFIED", expressions_1.Color));
14873
14874
  const intensified = (0, combi_1.seq)("INTENSIFIED", onOff);
14874
14875
  const options = (0, combi_1.per)(index, value, format, page, lineFormat, lineValue, ocp, intensified, expressions_1.Color);
14875
14876
  const ret = (0, combi_1.seq)("MODIFY", (0, combi_1.altPrio)("CURRENT LINE", (0, combi_1.seq)("LINE", expressions_1.Source)), (0, combi_1.opt)(options));
@@ -15058,6 +15059,7 @@ class NewPage {
15058
15059
  const coverText = (0, combi_1.seq)("COVER TEXT", expressions_1.Source);
15059
15060
  const coverPage = (0, combi_1.seq)("SAP COVER PAGE", expressions_1.Source);
15060
15061
  const immediately = (0, combi_1.seq)("IMMEDIATELY", expressions_1.Source);
15062
+ const copies = (0, combi_1.seq)("COPIES", expressions_1.Source);
15061
15063
  const keep = (0, combi_1.seq)("KEEP IN SPOOL", expressions_1.Source);
15062
15064
  const layout = (0, combi_1.seq)("LAYOUT", expressions_1.Source);
15063
15065
  const listAuth = (0, combi_1.seq)("LIST AUTHORITY", expressions_1.Source);
@@ -15066,7 +15068,7 @@ class NewPage {
15066
15068
  const dataset = (0, combi_1.seq)("LIST DATASET", expressions_1.Source);
15067
15069
  const name = (0, combi_1.seq)("LIST NAME", expressions_1.Source);
15068
15070
  const newList = (0, combi_1.seq)("NEW LIST IDENTIFICATION", expressions_1.Source);
15069
- const ret = (0, combi_1.seq)("NEW-PAGE", (0, combi_1.opt)((0, combi_1.per)(print, (0, combi_1.alt)("NO-TITLE", "WITH-TITLE"), (0, combi_1.alt)("NO-HEADING", "WITH-HEADING"), "NO DIALOG", parameters, listAuth, immediately, dataset, coverPage, newList, keep, department, name, layout, destination, receiver, coverText, archive, "NEW-SECTION", lineCount, line)));
15071
+ const ret = (0, combi_1.seq)("NEW-PAGE", (0, combi_1.opt)((0, combi_1.per)(print, (0, combi_1.alt)("NO-TITLE", "WITH-TITLE"), (0, combi_1.alt)("NO-HEADING", "WITH-HEADING"), "NO DIALOG", parameters, listAuth, immediately, dataset, coverPage, newList, keep, department, name, layout, destination, receiver, copies, coverText, archive, "NEW-SECTION", lineCount, line)));
15070
15072
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
15071
15073
  }
15072
15074
  }
@@ -15349,7 +15351,10 @@ class PrintControl {
15349
15351
  const line = (0, combi_1.seq)("LINE", expressions_1.Source);
15350
15352
  const position = (0, combi_1.seq)("POSITION", expressions_1.Source);
15351
15353
  const size = (0, combi_1.seq)("SIZE", expressions_1.Source);
15352
- const ret = (0, combi_1.seq)("PRINT-CONTROL", (0, combi_1.per)(index, func, line, position, size));
15354
+ const cpi = (0, combi_1.seq)("CPI", expressions_1.Source);
15355
+ const lpi = (0, combi_1.seq)("LPI", expressions_1.Source);
15356
+ const font = (0, combi_1.seq)("FONT", expressions_1.Source);
15357
+ const ret = (0, combi_1.seq)("PRINT-CONTROL", (0, combi_1.per)(index, func, line, position, size, cpi, lpi, font));
15353
15358
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
15354
15359
  }
15355
15360
  }
@@ -16241,7 +16246,9 @@ class SelectionScreen {
16241
16246
  const endLine = (0, combi_1.str)("END OF LINE");
16242
16247
  const modif = (0, combi_1.seq)("MODIF ID", expressions_1.Modif);
16243
16248
  const visible = (0, combi_1.seq)("VISIBLE LENGTH", (0, combi_1.regex)(/^\d+$/));
16244
- const commentOpt = (0, combi_1.per)((0, combi_1.seq)("FOR FIELD", expressions_1.FieldSub), modif, visible);
16249
+ const ldbId = (0, combi_1.seq)("ID", (0, combi_1.regex)(/^\w+$/));
16250
+ const ldb = (0, combi_1.seq)("FOR FIELD", expressions_1.FieldSub, (0, combi_1.optPrio)(ldbId));
16251
+ const commentOpt = (0, combi_1.per)(ldb, modif, visible);
16245
16252
  const position = (0, combi_1.seq)((0, combi_1.opt)((0, combi_1.regex)(/^\/?[\d\w]+$/)), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.ParenLeft), (0, combi_1.tok)(tokens_1.WParenLeft)), expressions_1.Integer, (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.ParenRightW), (0, combi_1.tok)(tokens_1.ParenRight)));
16246
16253
  const comment = (0, combi_1.seq)("COMMENT", position, (0, combi_1.opt)((0, combi_1.alt)(expressions_1.InlineField, expressions_1.TextElement)), (0, combi_1.opt)(commentOpt));
16247
16254
  const command = (0, combi_1.seq)("USER-COMMAND", (0, combi_1.alt)(expressions_1.Field, expressions_1.Constant));
@@ -16254,7 +16261,7 @@ class SelectionScreen {
16254
16261
  const posSymbols = (0, combi_1.altPrio)("POS_LOW", "POS_HIGH");
16255
16262
  // number between 1 and 83
16256
16263
  const posIntegers = (0, combi_1.regex)(/^(0?[1-9]|[1234567][0-9]|8[0-3])$/);
16257
- const pos = (0, combi_1.seq)("POSITION", (0, combi_1.altPrio)(posIntegers, posSymbols));
16264
+ const pos = (0, combi_1.seq)("POSITION", (0, combi_1.altPrio)(posIntegers, posSymbols), (0, combi_1.opt)((0, combi_1.seq)("FOR TABLE", expressions_1.Field)));
16258
16265
  const incl = (0, combi_1.seq)("INCLUDE BLOCKS", expressions_1.BlockName);
16259
16266
  const tabbed = (0, combi_1.seq)("BEGIN OF TABBED BLOCK", expressions_1.BlockName, "FOR", expressions_1.Integer, "LINES", (0, combi_1.optPrio)("NO INTERVALS"));
16260
16267
  const uline = (0, combi_1.seq)("ULINE", (0, combi_1.opt)(position));
@@ -53167,7 +53174,7 @@ class Registry {
53167
53174
  }
53168
53175
  static abaplintVersion() {
53169
53176
  // magic, see build script "version.sh"
53170
- return "2.113.59";
53177
+ return "2.113.60";
53171
53178
  }
53172
53179
  getDDICReferences() {
53173
53180
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.59",
3
+ "version": "2.113.60",
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.59",
41
+ "@abaplint/core": "^2.113.60",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",