@abaplint/core 2.108.0 → 2.108.1

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.
@@ -14,6 +14,7 @@ class LexerStream {
14
14
  this.row = this.row + 1;
15
15
  }
16
16
  if (this.offset === this.raw.length) {
17
+ this.col = this.col - 1;
17
18
  return false;
18
19
  }
19
20
  this.col = this.col + 1;
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.108.0";
68
+ return "2.108.1";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
@@ -47,14 +47,14 @@ class AlignPseudoComments extends _abap_rule_1.ABAPRule {
47
47
  continue;
48
48
  }
49
49
  else if (commentLength > 10) {
50
- const expectedColumn = 72 - commentLength + 1;
50
+ const expectedColumn = 72 - commentLength;
51
51
  if (previousEnd.getCol() < expectedColumn && firstCommentToken.getStart().getCol() !== expectedColumn) {
52
52
  const message = "Align pseudo comment to column " + expectedColumn;
53
53
  issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity));
54
54
  }
55
55
  }
56
- else if (previousEnd.getCol() < 62 && firstCommentToken.getStart().getCol() !== 62) {
57
- const message = "Align pseudo comment to column 62";
56
+ else if (previousEnd.getCol() < 61 && firstCommentToken.getStart().getCol() !== 61) {
57
+ const message = "Align pseudo comment to column 61";
58
58
  issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity));
59
59
  }
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.108.0",
3
+ "version": "2.108.1",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -53,7 +53,7 @@
53
53
  "@microsoft/api-extractor": "^7.43.2",
54
54
  "@types/chai": "^4.3.16",
55
55
  "@types/mocha": "^10.0.6",
56
- "@types/node": "^20.12.10",
56
+ "@types/node": "^20.12.11",
57
57
  "chai": "^4.4.1",
58
58
  "eslint": "^8.57.0",
59
59
  "mocha": "^10.4.0",