Skip to content
Snippets Groups Projects
Commit 335d7408 authored by lucien.noel's avatar lucien.noel
Browse files

jai rennomé les class entier et booleen pour que ça respecte les normes java

parent 983aae76
No related branches found
No related tags found
No related merge requests found
public class booleen extends Ttype{
public booleen() {
public class Booleen extends Ttype{
public Booleen() {
super("booleen");
}
......
public class entier extends Ttype{
public entier() {
public class Entier extends Ttype{
public Entier() {
super("entier");
}
}
......@@ -78,8 +78,8 @@ l_ident ::= IDENT:id {: ArrayList<Idf> liste = new ArrayList<Idf>();
RESULT = idl;:};
type ::= TINTEGER {: RESULT = (new entier());:}
| TBOOLEAN {: RESULT = (new booleen());:};
type ::= TINTEGER {: RESULT = (new Entier());:}
| TBOOLEAN {: RESULT = (new Booleen());:};
declar_const ::= CONSTANT type:t IDENT:id EQUAL expr:a SEMICOLON {: RESULT = new DeclarationConstant(t ,new Idf(id,"", idleft, idright),a,"",aleft,aright);:};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment