Commit pour merge
This commit is contained in:
parent
75e9a6a8f3
commit
f4085f7d19
2 changed files with 12 additions and 9 deletions
|
@ -1,12 +1,15 @@
|
|||
int fonction(int p){
|
||||
int y = p*3;
|
||||
return y;
|
||||
int g(int o){
|
||||
int j = o * 2;
|
||||
return j;
|
||||
}
|
||||
|
||||
|
||||
int f(int p){
|
||||
int y = p + 2;
|
||||
return y - 5 + g(1);
|
||||
}
|
||||
|
||||
int main(){
|
||||
int a;
|
||||
int c = fonction(3);
|
||||
stop(3);
|
||||
printf(c);
|
||||
printf(c);
|
||||
int a = 7;
|
||||
int c = f(a);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ Opérations possible :
|
|||
|
||||
int last_addr = 0;
|
||||
int temp_addr = MAXADDR;
|
||||
int taille_types[] = {-1, 4};
|
||||
int taille_types[] = {-1, 1};
|
||||
int profondeur = 0;
|
||||
int last_temp_var_size;
|
||||
const struct type_t integer = {INT, 0, 1};
|
||||
|
|
Loading…
Reference in a new issue