summaryrefslogtreecommitdiff
path: root/src/GF/Grammar/Compute.hs
diff options
context:
space:
mode:
authoraarne <unknown>2005-05-09 08:45:23 +0000
committeraarne <unknown>2005-05-09 08:45:23 +0000
commit2805a8ee2cb0f431301b09443709b78699acd671 (patch)
tree1a5f0cc327393b88390f9a6f9c32020b33758ccc /src/GF/Grammar/Compute.hs
parent2b059b811db03a53e8e0f8ec1a655e507851a995 (diff)
fix in CheckGrammar case exprs
Diffstat (limited to 'src/GF/Grammar/Compute.hs')
-rw-r--r--src/GF/Grammar/Compute.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/GF/Grammar/Compute.hs b/src/GF/Grammar/Compute.hs
index 01ce3637d..3cc3c7dff 100644
--- a/src/GF/Grammar/Compute.hs
+++ b/src/GF/Grammar/Compute.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/04/21 16:22:19 $
--- > CVS $Author: bringert $
--- > CVS $Revision: 1.15 $
+-- > CVS $Date: 2005/05/09 09:45:23 $
+-- > CVS $Author: aarne $
+-- > CVS $Revision: 1.16 $
--
-- Computation of source terms. Used in compilation and in @cc@ command.
-----------------------------------------------------------------------------
@@ -168,6 +168,7 @@ computeTerm gr = comp where
(Empty,_) -> return y
(K a, K b) -> return $ K (a ++ b)
(K a, Alts (d,vs)) -> do
+---- (_, Alts (d,vs)) -> do
let glx = Glue x
comp g $ Alts (glx d, [(glx v,c) | (v,c) <- vs])
(Alts _, K a) -> checks [do