diff options
| author | krasimir <krasimir@chalmers.se> | 2009-07-05 15:44:52 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2009-07-05 15:44:52 +0000 |
| commit | 279ff9a6d28c87e1a6c105d9d33df2511fb8f132 (patch) | |
| tree | a31ecbb34830c6566eb556e6aefaccb1551eabf7 /src/GF/Compile/GrammarToGFCC.hs | |
| parent | 3394c171edf60bf21d46e628032c3369a4ee10b3 (diff) | |
PGF.Type.Hypo now can represent explicit and implicit arguments and argument without bound variable
Diffstat (limited to 'src/GF/Compile/GrammarToGFCC.hs')
| -rw-r--r-- | src/GF/Compile/GrammarToGFCC.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile/GrammarToGFCC.hs b/src/GF/Compile/GrammarToGFCC.hs index c8bb1c606..d7e46df3e 100644 --- a/src/GF/Compile/GrammarToGFCC.hs +++ b/src/GF/Compile/GrammarToGFCC.hs @@ -147,7 +147,7 @@ mkPatt p = case p of mkContext :: A.Context -> [C.Hypo] -mkContext hyps = [C.Hyp (i2i x) (mkType ty) | (x,ty) <- hyps] +mkContext hyps = [(if x == identW then C.Hyp else C.HypV (i2i x)) (mkType ty) | (x,ty) <- hyps] mkTerm :: Term -> C.Term mkTerm tr = case tr of |
