From b65e1980cc209e86f4932a9d6fd592c8ca5f2fb3 Mon Sep 17 00:00:00 2001 From: Alexis Nasr <alexis.nasr@lif.univ-mrs.fr> Date: Fri, 2 Feb 2024 13:23:26 +0100 Subject: [PATCH] traitement d'une exception dans la construction de l'abre abstrait, pratique pour debugger --- src/Compiler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Compiler.java b/src/Compiler.java index 39aebb8..bea19a8 100644 --- a/src/Compiler.java +++ b/src/Compiler.java @@ -104,6 +104,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) { -- GitLab