aboutsummaryrefslogtreecommitdiff
path: root/sem1/osc
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-10-27 23:09:19 +0100
committerJulian T <julian@jtle.dk>2019-10-28 12:38:11 +0100
commit8cbdd712bbef89c2d7996fa9be8b768e6f9fd1a9 (patch)
tree444c672350575800d4fe6aa3e4721c312309e0ff /sem1/osc
parent5bc38338c79ef313f639696ec85e424c5d9c0b0c (diff)
Added dijkstra implementation
Diffstat (limited to 'sem1/osc')
-rw-r--r--sem1/osc/mm11/regn2/regn.y2
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");}