From df26b134fc13cee4c854afd4306d847873885270 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 3 Sep 2013 07:51:25 +0000 Subject: fix in the GF compiler and runtime which let us to define pre construct detecting whether this is the last token. --- src/runtime/haskell/PGF/Forest.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/haskell/PGF/Forest.hs') diff --git a/src/runtime/haskell/PGF/Forest.hs b/src/runtime/haskell/PGF/Forest.hs index 5cb4ccf51..9c47583ad 100644 --- a/src/runtime/haskell/PGF/Forest.hs +++ b/src/runtime/haskell/PGF/Forest.hs @@ -47,7 +47,7 @@ data Forest -------------------------------------------------------------------- linearizeWithBrackets :: Maybe Int -> Forest -> BracketedString -linearizeWithBrackets dp = head . snd . untokn "" . bracketedTokn dp +linearizeWithBrackets dp = head . snd . untokn Nothing . bracketedTokn dp --------------------------------------------------------------- -- Internally we have to do everything with Tokn first because -- cgit v1.2.3