@abaplint/core 2.113.38 → 2.113.39

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.
@@ -224,6 +224,7 @@ class StatementFlow {
224
224
  }
225
225
  else if (type instanceof Structures.Data
226
226
  || type instanceof Structures.Constants
227
+ || type instanceof Structures.Statics
227
228
  || type instanceof Structures.Types) {
228
229
  // these doesnt affect control flow, so just take the first statement
229
230
  const statement = n.getFirstStatement();
@@ -10,7 +10,7 @@ class CDSCondition extends combi_1.Expression {
10
10
  const left = (0, combi_1.alt)(name, _1.CDSFunction, _1.CDSString);
11
11
  const compare = (0, combi_1.seq)(left, (0, combi_1.alt)("=", (0, combi_1.seq)("!", "="), (0, combi_1.seq)("<", ">"), "<", ">", (0, combi_1.seq)(">", "="), (0, combi_1.seq)("<", "="), "LIKE", "NOT LIKE"), (0, combi_1.alt)(left, cds_integer_1.CDSInteger, _1.CDSFunction, _1.CDSString));
12
12
  const is = (0, combi_1.seq)(left, "IS", (0, combi_1.optPrio)("NOT"), (0, combi_1.altPrio)("INITIAL", "NULL"));
13
- const condition = (0, combi_1.alt)(compare, is);
13
+ const condition = (0, combi_1.seq)((0, combi_1.optPrio)("NOT"), (0, combi_1.alt)(compare, is));
14
14
  const paren = (0, combi_1.seq)("(", CDSCondition, ")");
15
15
  return (0, combi_1.seq)((0, combi_1.alt)(condition, paren), (0, combi_1.star)((0, combi_1.seq)((0, combi_1.alt)("AND", "OR"), (0, combi_1.alt)(condition, paren))));
16
16
  }
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.38";
70
+ return "2.113.39";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.38",
3
+ "version": "2.113.39",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",