summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-01-24 08:34:55 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-01-24 08:34:55 +0000
commit55ea6cbec556b9c7ffef3f6849c56f9714cb3cc0 (patch)
treed294a8c1b96779311b7aedfb444bae7fc1df7739 /src
parent77150e0b279c610d47ff129aa36d6506004e354a (diff)
fix in the Haskell runtime
Diffstat (limited to 'src')
-rw-r--r--src/runtime/haskell/PGF/Parse.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/haskell/PGF/Parse.hs b/src/runtime/haskell/PGF/Parse.hs
index 3f5dc313a..0ab1ad9fb 100644
--- a/src/runtime/haskell/PGF/Parse.hs
+++ b/src/runtime/haskell/PGF/Parse.hs
@@ -387,6 +387,7 @@ process flit ftok cnc (item@(Active j ppos funid seqid args key0):items) acc cha
Just funs -> foldl (\forest funid -> IntMap.insertWith Set.union fid2 (Set.singleton (PApply funid [PArg [] fid1])) forest) forest funs
Nothing -> forest
+ ftok_ [] item cnt = ftok Map.empty cnt
ftok_ (tok:toks) item cnt =
ftok (Map.singleton tok (TrieMap.singleton toks (Set.singleton item))) cnt