mevento 2.0.4 → 2.0.5

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.
@@ -349,7 +349,7 @@ class Lexer {
349
349
  return new Token(TokenType.stringConst, ret, lastL, lastC);
350
350
  }
351
351
  _skipLineComment() {
352
- while (!this._isLineEnd(this._currentChar) === true) {
352
+ while (!this._isLineEnd(this._currentChar) === true && this._currentChar != -1) {
353
353
  this._advance();
354
354
  }
355
355
  }