}
System.out.println("RN modulo: " + nombre_modulo);
Auxiliar aux = tab.get(nombre_modulo);
- resnom.declaracion_modulo(arbol.get(nombre_modulo), aux.t, mods, aux.declaraciones);
+ resnom.declaracion_modulo(arbol.get(nombre_modulo), nombre_modulo, aux.t, mods, aux.declaraciones);
arbol.put(nombre_modulo, resnom.getAST());
}
- ASTFrame frame = new ASTFrame("nombre", arbol.get("p2.mod"));
+ ASTFrame frame = new ASTFrame("nombre", arbol.get("p1.mod"));
frame.setSize(600, 600);
frame.setVisible(true);
System.err.println("No se encontro el fichero");
}
}
-}
\ No newline at end of file
+}