mevento 2.0.0 → 2.0.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.
@@ -855,7 +855,7 @@ class Parser {
855
855
  case TokenType.minus:
856
856
  case TokenType.not:
857
857
  this._eat(this.currentToken.type);
858
- return new UnaryExpressionAST(token, this._expression());
858
+ return new UnaryExpressionAST(token, this._term());
859
859
  case TokenType.numberConst:
860
860
  this._eat(TokenType.numberConst);
861
861
  return new LiteralAST(token, token.value.toString());