Fix definition of hwor builtin operator.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Mon, 22 Jun 2009 11:30:50 +0000 (13:30 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Mon, 22 Jun 2009 11:30:50 +0000 (13:30 +0200)
GlobalNameTable.hs

index 756c6113c932e978e29a7bccd52d84669250e0e0..6317ebcee9a5125ef01519728edc8f8de05d700f 100644 (file)
@@ -21,6 +21,6 @@ globalNameTable = mkGlobalNameTable
   , ("head"           , (1, genExprFCall headId                           ) )
   , ("hwxor"          , (2, genExprOp2 AST.Xor                            ) )
   , ("hwand"          , (2, genExprOp2 AST.And                            ) )
-  , ("hwor"           , (2, genExprOp2 AST.And                            ) )
+  , ("hwor"           , (2, genExprOp2 AST.Or                             ) )
   , ("hwnot"          , (1, genExprOp1 AST.Not                            ) )
   ]