Skip to content
Snippets Groups Projects
Commit ea6754cf authored by BAZIZI Zakaria's avatar BAZIZI Zakaria
Browse files

Merge branch 2024_compilation:main into main

parents 959ed44c 0e6314ed
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,8 @@ public class Compiler
scRoot.apply(sc2sa);
saRoot = sc2sa.getRoot();
} catch (Exception ignored) {
System.out.println("exception construction arbre abstrait");
ignored.printStackTrace();
}
PrintStream out = System.out;
if (verboseLevel > 1) {
......@@ -133,7 +135,8 @@ public class Compiler
System.err.print("ERREUR TABLE DES SYMBOLES : ");
System.err.println(e.getMessage());
System.exit(e.getCode());
} catch (Exception ignored) {
} catch (Exception e) {
e.printStackTrace();
}
if (verboseLevel > 1) {
System.out.println("[PRINT TS]");
......
......@@ -23,7 +23,9 @@ public class SaEval extends SaDepthFirstVisitor <TypeVal> {
try{
appelMain.accept(this);
} catch(Exception e){}
} catch(Exception e){
e.printStackTrace()
}
}
public TypeVal getVar(SaVarSimple saVar){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment