@abaplint/cli 2.119.0 → 2.119.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.
- package/build/cli.js +11 -5
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -8455,7 +8455,7 @@ exports.SQLFieldName = void 0;
|
|
|
8455
8455
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
8456
8456
|
class SQLFieldName extends combi_1.Expression {
|
|
8457
8457
|
getRunnable() {
|
|
8458
|
-
return (0, combi_1.regex)(/^(?!(?:SINGLE|INTO|DISTINCT|AS|WHERE|FOR|HAVING|APPENDING|UP|FROM)$)(\/\w+\/)?(
|
|
8458
|
+
return (0, combi_1.regex)(/^(?!(?:SINGLE|INTO|DISTINCT|AS|WHERE|FOR|HAVING|APPENDING|UP|FROM)$)(\/\w+\/)?(\*?\w+~(\/\w+\/)?(\w+|\*)|\w+)$/i);
|
|
8459
8459
|
}
|
|
8460
8460
|
}
|
|
8461
8461
|
exports.SQLFieldName = SQLFieldName;
|
|
@@ -10573,7 +10573,7 @@ class AtSelectionScreen {
|
|
|
10573
10573
|
const field = (0, combi_1.seq)("ON", expressions_1.FieldSub);
|
|
10574
10574
|
const end = (0, combi_1.seq)("ON END OF", expressions_1.Field);
|
|
10575
10575
|
const radio = (0, combi_1.seq)("ON RADIOBUTTON GROUP", expressions_1.Field);
|
|
10576
|
-
const block = (0, combi_1.seq)("ON BLOCK",
|
|
10576
|
+
const block = (0, combi_1.seq)("ON BLOCK", expressions_1.BlockName);
|
|
10577
10577
|
const help = (0, combi_1.seq)("ON HELP-REQUEST FOR", expressions_1.FieldSub);
|
|
10578
10578
|
const ret = (0, combi_1.seq)("AT SELECTION-SCREEN", (0, combi_1.opt)((0, combi_1.alt)(output, value, radio, exit, field, end, help, block)));
|
|
10579
10579
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
@@ -26600,7 +26600,7 @@ const assert_error_1 = __webpack_require__(/*! ../assert_error */ "./node_module
|
|
|
26600
26600
|
const tokens_1 = __webpack_require__(/*! ../../1_lexer/tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
|
|
26601
26601
|
class FormParam {
|
|
26602
26602
|
static runSyntax(node, input) {
|
|
26603
|
-
var _a, _b;
|
|
26603
|
+
var _a, _b, _c;
|
|
26604
26604
|
const formParamName = node.findFirstExpression(expressions_1.FormParamName);
|
|
26605
26605
|
if (formParamName === undefined) {
|
|
26606
26606
|
throw new assert_error_1.AssertError("FormParam, could not find FormParamName");
|
|
@@ -26628,7 +26628,13 @@ class FormParam {
|
|
|
26628
26628
|
// untyped FORM parameter
|
|
26629
26629
|
return new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, basic_1.AnyType.get(), ["form_parameter" /* IdentifierMeta.FormParameter */]);
|
|
26630
26630
|
}
|
|
26631
|
-
|
|
26631
|
+
let bfound = new basic_types_1.BasicTypes(input).parseType(node);
|
|
26632
|
+
const isTypeC = ((_c = node.findFirstExpression(expressions_1.TypeName)) === null || _c === void 0 ? void 0 : _c.concatTokens().toUpperCase()) === "C";
|
|
26633
|
+
const hasExplicitLength = node.findFirstExpression(expressions_1.Length) !== undefined
|
|
26634
|
+
|| node.findFirstExpression(expressions_1.ConstantFieldLength) !== undefined;
|
|
26635
|
+
if (isTypeC && hasExplicitLength === false && bfound instanceof basic_1.CharacterType) {
|
|
26636
|
+
bfound = basic_1.CGenericType.get();
|
|
26637
|
+
}
|
|
26632
26638
|
if (nameToken && bfound) {
|
|
26633
26639
|
return new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, bfound, ["form_parameter" /* IdentifierMeta.FormParameter */]);
|
|
26634
26640
|
}
|
|
@@ -56137,7 +56143,7 @@ class Registry {
|
|
|
56137
56143
|
}
|
|
56138
56144
|
static abaplintVersion() {
|
|
56139
56145
|
// magic, see build script "version.sh"
|
|
56140
|
-
return "2.119.
|
|
56146
|
+
return "2.119.1";
|
|
56141
56147
|
}
|
|
56142
56148
|
getDDICReferences() {
|
|
56143
56149
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.119.
|
|
3
|
+
"version": "2.119.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.119.
|
|
41
|
+
"@abaplint/core": "^2.119.1",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|