summaryrefslogtreecommitdiff
path: root/examples/tutorial/calculator/CalculatorJ.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-09-04 07:57:50 +0000
committeraarne <aarne@cs.chalmers.se>2007-09-04 07:57:50 +0000
commite9985271e2d03e789e77b212526810aa2055ebe0 (patch)
treeecb4e84ec4ee8a331589da1ee48a17fead2ffe54 /examples/tutorial/calculator/CalculatorJ.gf
parent14f185d326590f6656cf7b8c734fbfc87cf0605b (diff)
div
Diffstat (limited to 'examples/tutorial/calculator/CalculatorJ.gf')
-rw-r--r--examples/tutorial/calculator/CalculatorJ.gf1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tutorial/calculator/CalculatorJ.gf b/examples/tutorial/calculator/CalculatorJ.gf
index 15b2caffd..0df7b73fe 100644
--- a/examples/tutorial/calculator/CalculatorJ.gf
+++ b/examples/tutorial/calculator/CalculatorJ.gf
@@ -15,6 +15,7 @@ concrete CalculatorJ of Calculator = open Prelude in {
EPlus = postfix "iadd" ;
EMinus = postfix "isub" ;
ETimes = postfix "imul" ;
+ EDiv = postfix "imul" ;
EInt = prefixSS "iconst" ;
EVar = prefixSS "iload" ;