summaryrefslogtreecommitdiff
path: root/src/runtime/haskell
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-08-30 07:41:49 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-08-30 07:41:49 +0000
commit3f0b8c55eca8206bc85b2450e908fb2134eb22a5 (patch)
tree717170a5ff22775f7b0e21a64dfa1ff11f3df1f3 /src/runtime/haskell
parentb416f5bbf7a1ac6d549f68424fec3af64ce34725 (diff)
the loading of PGF files was broken by the Teyjus patch. Now this is fixed
Diffstat (limited to 'src/runtime/haskell')
-rw-r--r--src/runtime/haskell/PGF/Binary.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF/Binary.hs b/src/runtime/haskell/PGF/Binary.hs
index e96bf0ea0..4f67df42b 100644
--- a/src/runtime/haskell/PGF/Binary.hs
+++ b/src/runtime/haskell/PGF/Binary.hs
@@ -43,7 +43,8 @@ instance Binary Abstr where
funs <- get
cats <- get
return (Abstr{ aflags=aflags
- , funs=funs, cats=cats
+ , funs=fmap (\(w,x,y,z) -> (w,x,y,z,0)) funs
+ , cats=fmap (\(x,y) -> (x,y,0)) cats
, code=BS.empty
})