Commit d33cc9a3 authored by Vincent's avatar Vincent

modification AnalyseSemantique.java

pour correction issue #17 : affectations multiples
parent 3371778d
...@@ -361,6 +361,7 @@ class AnalyseSemantique { ...@@ -361,6 +361,7 @@ class AnalyseSemantique {
throw new AnalyseException("Variable " + aa.getSLeaf() + " non initialisée"); throw new AnalyseException("Variable " + aa.getSLeaf() + " non initialisée");
case ArbreAbstrait.DECLA: case ArbreAbstrait.DECLA:
evaluate(aa.getAAGauche());
return evaluate(aa.getAADroit()); return evaluate(aa.getAADroit());
case ArbreAbstrait.AFFEC: case ArbreAbstrait.AFFEC:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment