diff --git a/src/ast/NodoValor.java b/src/ast/NodoValor.java index 667df80..7571c86 100644 --- a/src/ast/NodoValor.java +++ b/src/ast/NodoValor.java @@ -2,10 +2,18 @@ public class NodoValor extends NodoBase { private int valor; + private int tipo; public NodoValor(int valor) { super(); this.valor = valor; + this.tipo = 0; + } + + public NodoValor(int valor, int tipo) { + super(); + this.valor = valor; + this.tipo = tipo; } public NodoValor() {