summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Compile/PGFtoPython.hs
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-09-05 10:09:43 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-09-05 10:09:43 +0000
commit86b5f78c579ce5fcc9c96370644c41c35a421070 (patch)
tree8a3034c3e366c901f8bb06ee3733d096fdb8b95a /src/compiler/GF/Compile/PGFtoPython.hs
parenta21ffc194185165ab487e0553cd5c4d0a36a8a9d (diff)
full support for recursive def rules in the C runtime
Diffstat (limited to 'src/compiler/GF/Compile/PGFtoPython.hs')
-rw-r--r--src/compiler/GF/Compile/PGFtoPython.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Compile/PGFtoPython.hs b/src/compiler/GF/Compile/PGFtoPython.hs
index 1fee9c8c5..72b4f1ff8 100644
--- a/src/compiler/GF/Compile/PGFtoPython.hs
+++ b/src/compiler/GF/Compile/PGFtoPython.hs
@@ -39,7 +39,7 @@ pgf2python pgf = ("# -*- coding: utf-8 -*-" ++++
abs = abstract pgf
cncs = concretes pgf
-pyAbsdef :: (Type, Int, Maybe ([Equation], [M.Instr]), Double) -> String
+pyAbsdef :: (Type, Int, Maybe ([Equation], [[M.Instr]]), Double) -> String
pyAbsdef (typ, _, _, _) = pyTuple 0 id [pyCId cat, pyList 0 pyCId args]
where (args, cat) = M.catSkeleton typ