diff options
Diffstat (limited to 'compilador/parse')
-rw-r--r-- | compilador/parse/expr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilador/parse/expr.py b/compilador/parse/expr.py index 492b4e6..cfbf89f 100644 --- a/compilador/parse/expr.py +++ b/compilador/parse/expr.py @@ -135,7 +135,6 @@ class ParseExpr: elif tok.tipo == Token.READ: return self.read_expr() - def postfix(self, lvalue: Optional[Expr]) -> (Expr | Error): _lvalue: Optional[Expr] = lvalue if not lvalue: @@ -216,6 +215,7 @@ class ParseExpr: rparen = self.parser.want(Token.R_PAREN) if type(rparen) is Error: return rparen + return expr elif tok.tipo == Token.IDENT: ident = ParseIdent(self.parser).ident() if type(ident) is Error: |