diff --git a/Fichiers_Tests/progC b/Fichiers_Tests/progC index 32d6456..877fc12 100644 --- a/Fichiers_Tests/progC +++ b/Fichiers_Tests/progC @@ -7,4 +7,6 @@ int main(){ int a; int c = fonction(3); stop(3); + printf(c); + printf(c); } diff --git a/Lex_Yacc/as.y b/Lex_Yacc/as.y index 5977a02..5b2e13e 100644 --- a/Lex_Yacc/as.y +++ b/Lex_Yacc/as.y @@ -104,7 +104,7 @@ else{ $$ = push("0_TEMPORARY_RETURN", 0, fonc.return_type); }}; -Invocation : tPRINTF tOBRACE E tCBRACE{add_operation(PRI,$3,0,0); pop();}; +Invocation : tPRINTF tOBRACE E tCBRACE{add_operation(PRI,$3,0,0);}; Params : {$$ = 0; printf("Sans Params\n"); } ; Params : Param SuiteParams {$$ = $2 + 1;};