From 8cbdd712bbef89c2d7996fa9be8b768e6f9fd1a9 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 27 Oct 2019 23:09:19 +0100 Subject: Added dijkstra implementation --- sem1/osc/mm11/regn2/regn.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sem1/osc/mm11/regn2/regn.y') 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");} -- cgit v1.2.3