@abaplint/core 2.99.3 → 2.99.4

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.
@@ -239,7 +239,7 @@ class CurrentScope {
239
239
  return undefined;
240
240
  }
241
241
  const typePoolName = name.split("_")[0];
242
- if (typePoolName.length !== 4) {
242
+ if (typePoolName.length <= 2 || typePoolName.length > 5) {
243
243
  return undefined;
244
244
  }
245
245
  const typePool = this.reg.getObject("TYPE", typePoolName);
@@ -256,7 +256,10 @@ class CurrentScope {
256
256
  return undefined;
257
257
  }
258
258
  const typePoolName = name.split("_")[0];
259
- if (typePoolName.length !== 4 || new ddic_1.DDIC(this.reg).lookupNoVoid(name) !== undefined) {
259
+ if (typePoolName.length <= 2 || typePoolName.length > 5) {
260
+ return undefined;
261
+ }
262
+ if (new ddic_1.DDIC(this.reg).lookupNoVoid(name) !== undefined) {
260
263
  // this is tricky, it should not do recursion when parsing the type pool itself,
261
264
  // think about DTEL ABAP_ENCOD vs TYPE ABAP
262
265
  return undefined;
@@ -63,7 +63,7 @@ class Registry {
63
63
  }
64
64
  static abaplintVersion() {
65
65
  // magic, see build script "version.sh"
66
- return "2.99.3";
66
+ return "2.99.4";
67
67
  }
68
68
  getDDICReferences() {
69
69
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.99.3",
3
+ "version": "2.99.4",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",