L'évaluation des expressions est désormais correcte
This commit is contained in:
parent
b49738e244
commit
80b4e20831
BIN
syntaxique/expr
Executable file
BIN
syntaxique/expr
Executable file
Binary file not shown.
@ -18,6 +18,9 @@ void yyerror(char *s)
|
||||
%token <i> INT
|
||||
%type <i> E
|
||||
|
||||
%left '+'
|
||||
%left '*'
|
||||
|
||||
%%
|
||||
|
||||
S : E { printf("result=%d\n",$1); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user