@abaplint/core 2.102.38 → 2.102.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.
@@ -122,8 +122,14 @@ class BuiltIn {
122
122
  }
123
123
  getTypes() {
124
124
  const ret = this.buildSY();
125
- const id = new tokens_1.Identifier(new position_1.Position(1, 1), "abap_bool");
126
- ret.push(new _typed_identifier_1.TypedIdentifier(id, BuiltIn.filename, new basic_1.CharacterType(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" })));
125
+ {
126
+ const id = new tokens_1.Identifier(new position_1.Position(1, 1), "abap_bool");
127
+ ret.push(new _typed_identifier_1.TypedIdentifier(id, BuiltIn.filename, new basic_1.CharacterType(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" })));
128
+ }
129
+ {
130
+ const id = new tokens_1.Identifier(new position_1.Position(1, 1), "cursor");
131
+ ret.push(new _typed_identifier_1.TypedIdentifier(id, BuiltIn.filename, basic_1.IntegerType.get({ qualifiedName: "CURSOR", ddicName: "CURSOR" })));
132
+ }
127
133
  return ret;
128
134
  }
129
135
  get(extras) {
@@ -26,8 +26,12 @@ class AbstractFile {
26
26
  // handle additional escaping
27
27
  split[0] = split[0].replace(/%3e/g, ">");
28
28
  split[0] = split[0].replace(/%3c/g, "<");
29
- // handle namespace
30
- return split[0].toUpperCase().replace(/#/g, "/");
29
+ // handle abapGit namespace
30
+ split[0] = split[0].toUpperCase().replace(/#/g, "/");
31
+ // handle AFF namespace
32
+ split[0] = split[0].replace("(", "/");
33
+ split[0] = split[0].replace(")", "/");
34
+ return split[0];
31
35
  }
32
36
  }
33
37
  exports.AbstractFile = AbstractFile;
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.102.38";
68
+ return "2.102.39";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.102.38",
3
+ "version": "2.102.39",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",