Skip to content

Commit

Permalink
Corrigindo problema na hora de encapsular a funcao no returno.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItaloCobains committed Jul 6, 2024
1 parent 10a273b commit 04962d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fontes/avaliador-sintatico/avaliador-sintatico.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,8 @@ export class AvaliadorSintatico implements AvaliadorSintaticoInterface<SimboloIn
tiposDeSimbolos.SUPER,
tiposDeSimbolos.TEXTO,
tiposDeSimbolos.VERDADEIRO,
tiposDeSimbolos.FUNCAO,
tiposDeSimbolos.FUNÇÃO,
].includes(this.simbolos[this.atual].tipo)
) {
valor = this.expressao();
Expand Down

1 comment on commit 04962d2

@ItaloCobains
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leonelsanchesdasilva isso resolve o problema, porem ainda falta um tratativa que estou investigando no interpretador.

Please sign in to comment.