summaryrefslogtreecommitdiff
path: root/src/GF/Compile/GrammarToGFCC.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-10-27 15:45:05 +0000
committerkrasimir <krasimir@chalmers.se>2009-10-27 15:45:05 +0000
commit83bc6d4cda927a9f2716958398da5d5684d96a8b (patch)
treed5d07f956509c89567ad6eaeb64b0355da0522cf /src/GF/Compile/GrammarToGFCC.hs
parent8ebb4e854a474ee376253b9d476a25c5d1f24e9b (diff)
simplify the Term again
Diffstat (limited to 'src/GF/Compile/GrammarToGFCC.hs')
-rw-r--r--src/GF/Compile/GrammarToGFCC.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/GF/Compile/GrammarToGFCC.hs b/src/GF/Compile/GrammarToGFCC.hs
index c284b176c..dd3a14f38 100644
--- a/src/GF/Compile/GrammarToGFCC.hs
+++ b/src/GF/Compile/GrammarToGFCC.hs
@@ -436,7 +436,6 @@ term2term fun cgr env@(labels,untyps,typs) tr = case tr of
R rs -> R [(mkLab i, (Nothing, t2t t)) |
(i,(l,(_,t))) <- zip [0..] (GM.sortRec (unlock rs))]
P t l -> r2r tr
- PI t l i -> EInt $ toInteger i
T (TWild _) _ -> error $ (render (text "wild" <+> ppTerm Qualified 0 tr))
T (TComp ty) cs -> t2t $ V ty $ map snd cs ---- should be elim'ed in tc