summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-08-23 14:26:34 +0000
committeraarne <aarne@cs.chalmers.se>2008-08-23 14:26:34 +0000
commit3d22963267a592d11ea30c09bef24de3057b4595 (patch)
tree2ac1544f513926d3fcde65d166bcbfee037c8104 /src
parent90d41b4f4e79f6e40c076836976448ba60b9fdb3 (diff)
infForm added to Catalan ; debugging alternative in PGF generation
Diffstat (limited to 'src')
-rw-r--r--src/GF/Compile/GrammarToGFCC.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/GF/Compile/GrammarToGFCC.hs b/src/GF/Compile/GrammarToGFCC.hs
index 613612f03..cc34cf546 100644
--- a/src/GF/Compile/GrammarToGFCC.hs
+++ b/src/GF/Compile/GrammarToGFCC.hs
@@ -284,8 +284,11 @@ canon2canon abs =
M.ModMod mo ->
(c, M.ModMod $ M.replaceJudgements mo $ mapTree f2 (M.jments mo))
_ -> (c,m)
- j2j cg (f,j) = case j of
- CncFun x (Yes tr) z -> (f,CncFun x (Yes ({-trace ("+ " ++ prt f)-} (t2t tr))) z)
+ j2j cg (f,j) =
+---- let debug = trace ("+ " ++ prt f) in
+ let debug = id in
+ case j of
+ CncFun x (Yes tr) z -> (f,CncFun x (Yes (debug (t2t tr))) z)
CncCat (Yes ty) (Yes x) y -> (f,CncCat (Yes (ty2ty ty)) (Yes (t2t x)) y)
_ -> (f,j)
where