diff options
Diffstat (limited to 'sem1/osc/mm11/regn2/regn.y')
-rw-r--r-- | sem1/osc/mm11/regn2/regn.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sem1/osc/mm11/regn2/regn.y b/sem1/osc/mm11/regn2/regn.y index a181cb3..eac24c8 100644 --- a/sem1/osc/mm11/regn2/regn.y +++ b/sem1/osc/mm11/regn2/regn.y @@ -23,7 +23,7 @@ statement_list: statement '\n' | statement_list statement '\n' ; -statement: expression {;}; +statement: expression {printf("out \n");}; expression: expression '+' expression {printf("sum \n");} | expression '-' expression {printf("sub \n");} |