@abaplint/core 2.91.34 → 2.91.35
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.
|
@@ -80,6 +80,11 @@ class CDSLexer {
|
|
|
80
80
|
build = result.add(build, row, col);
|
|
81
81
|
continue;
|
|
82
82
|
}
|
|
83
|
+
else if (mode === Mode.Default && next === "-" && nextNext === "-") {
|
|
84
|
+
mode = Mode.SingleLineComment;
|
|
85
|
+
build = result.add(build, row, col);
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
83
88
|
// multi line comment handling
|
|
84
89
|
if (mode === Mode.MultiLineComment) {
|
|
85
90
|
if (next === "\n") {
|
|
@@ -6,7 +6,7 @@ const combi_1 = require("../../abap/2_statements/combi");
|
|
|
6
6
|
class CDSCondition extends combi_1.Expression {
|
|
7
7
|
getRunnable() {
|
|
8
8
|
const name = (0, combi_1.seq)(_1.CDSName, (0, combi_1.opt)((0, combi_1.seq)(".", (0, combi_1.alt)(_1.CDSName, _1.CDSString))));
|
|
9
|
-
const eq = (0, combi_1.seq)(name, (0, combi_1.alt)("=", "<>", "<", ">", ">=", "<=", "LIKE", "NOT LIKE"), (0, combi_1.alt)(name, _1.CDSFunction, _1.CDSString));
|
|
9
|
+
const eq = (0, combi_1.seq)(name, (0, combi_1.alt)("=", "!=", "<>", "<", ">", ">=", "<=", "LIKE", "NOT LIKE"), (0, combi_1.alt)(name, _1.CDSFunction, _1.CDSString));
|
|
10
10
|
const isInitial = (0, combi_1.seq)(name, "IS INITIAL");
|
|
11
11
|
const isNotInitial = (0, combi_1.seq)(name, "IS NOT INITIAL");
|
|
12
12
|
const isNull = (0, combi_1.seq)(name, "IS NULL");
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.91.
|
|
3
|
+
"version": "2.91.35",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@microsoft/api-extractor": "^7.29.3",
|
|
49
49
|
"@types/chai": "^4.3.3",
|
|
50
50
|
"@types/mocha": "^9.1.1",
|
|
51
|
-
"@types/node": "^18.7.
|
|
51
|
+
"@types/node": "^18.7.11",
|
|
52
52
|
"chai": "^4.3.6",
|
|
53
53
|
"eslint": "^8.22.0",
|
|
54
54
|
"mocha": "^10.0.0",
|