@abaplint/transpiler-cli 2.13.13 → 2.13.14
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/bundle.js +11 -5
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -7365,7 +7365,7 @@ exports.SQLFieldName = void 0;
|
|
|
7365
7365
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
7366
7366
|
class SQLFieldName extends combi_1.Expression {
|
|
7367
7367
|
getRunnable() {
|
|
7368
|
-
return (0, combi_1.regex)(/^(?!(?:SINGLE|INTO|DISTINCT|AS|WHERE|FOR|HAVING|APPENDING|UP|FROM)$)(\/\w+\/)?(
|
|
7368
|
+
return (0, combi_1.regex)(/^(?!(?:SINGLE|INTO|DISTINCT|AS|WHERE|FOR|HAVING|APPENDING|UP|FROM)$)(\/\w+\/)?(\*?\w+~(\/\w+\/)?(\w+|\*)|\w+)$/i);
|
|
7369
7369
|
}
|
|
7370
7370
|
}
|
|
7371
7371
|
exports.SQLFieldName = SQLFieldName;
|
|
@@ -9483,7 +9483,7 @@ class AtSelectionScreen {
|
|
|
9483
9483
|
const field = (0, combi_1.seq)("ON", expressions_1.FieldSub);
|
|
9484
9484
|
const end = (0, combi_1.seq)("ON END OF", expressions_1.Field);
|
|
9485
9485
|
const radio = (0, combi_1.seq)("ON RADIOBUTTON GROUP", expressions_1.Field);
|
|
9486
|
-
const block = (0, combi_1.seq)("ON BLOCK",
|
|
9486
|
+
const block = (0, combi_1.seq)("ON BLOCK", expressions_1.BlockName);
|
|
9487
9487
|
const help = (0, combi_1.seq)("ON HELP-REQUEST FOR", expressions_1.FieldSub);
|
|
9488
9488
|
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)));
|
|
9489
9489
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
@@ -25510,7 +25510,7 @@ const assert_error_1 = __webpack_require__(/*! ../assert_error */ "./node_module
|
|
|
25510
25510
|
const tokens_1 = __webpack_require__(/*! ../../1_lexer/tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
|
|
25511
25511
|
class FormParam {
|
|
25512
25512
|
static runSyntax(node, input) {
|
|
25513
|
-
var _a, _b;
|
|
25513
|
+
var _a, _b, _c;
|
|
25514
25514
|
const formParamName = node.findFirstExpression(expressions_1.FormParamName);
|
|
25515
25515
|
if (formParamName === undefined) {
|
|
25516
25516
|
throw new assert_error_1.AssertError("FormParam, could not find FormParamName");
|
|
@@ -25538,7 +25538,13 @@ class FormParam {
|
|
|
25538
25538
|
// untyped FORM parameter
|
|
25539
25539
|
return new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, basic_1.AnyType.get(), ["form_parameter" /* IdentifierMeta.FormParameter */]);
|
|
25540
25540
|
}
|
|
25541
|
-
|
|
25541
|
+
let bfound = new basic_types_1.BasicTypes(input).parseType(node);
|
|
25542
|
+
const isTypeC = ((_c = node.findFirstExpression(expressions_1.TypeName)) === null || _c === void 0 ? void 0 : _c.concatTokens().toUpperCase()) === "C";
|
|
25543
|
+
const hasExplicitLength = node.findFirstExpression(expressions_1.Length) !== undefined
|
|
25544
|
+
|| node.findFirstExpression(expressions_1.ConstantFieldLength) !== undefined;
|
|
25545
|
+
if (isTypeC && hasExplicitLength === false && bfound instanceof basic_1.CharacterType) {
|
|
25546
|
+
bfound = basic_1.CGenericType.get();
|
|
25547
|
+
}
|
|
25542
25548
|
if (nameToken && bfound) {
|
|
25543
25549
|
return new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, bfound, ["form_parameter" /* IdentifierMeta.FormParameter */]);
|
|
25544
25550
|
}
|
|
@@ -55047,7 +55053,7 @@ class Registry {
|
|
|
55047
55053
|
}
|
|
55048
55054
|
static abaplintVersion() {
|
|
55049
55055
|
// magic, see build script "version.sh"
|
|
55050
|
-
return "2.119.
|
|
55056
|
+
return "2.119.1";
|
|
55051
55057
|
}
|
|
55052
55058
|
getDDICReferences() {
|
|
55053
55059
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.14",
|
|
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.119.
|
|
31
|
-
"@abaplint/transpiler": "^2.13.
|
|
30
|
+
"@abaplint/core": "^2.119.1",
|
|
31
|
+
"@abaplint/transpiler": "^2.13.14",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.12.2",
|
|
34
34
|
"@types/progress": "^2.0.7",
|