diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-09-03 07:51:25 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-09-03 07:51:25 +0000 |
| commit | df26b134fc13cee4c854afd4306d847873885270 (patch) | |
| tree | 3dd98c1e8b5286d60534b06f23d069676a743335 /src/runtime/haskell/PGF/Forest.hs | |
| parent | d626a194de5c48e0ceedfc3946443f63fd6a4ad8 (diff) | |
fix in the GF compiler and runtime which let us to define pre construct detecting whether this is the last token.
Diffstat (limited to 'src/runtime/haskell/PGF/Forest.hs')
| -rw-r--r-- | src/runtime/haskell/PGF/Forest.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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
|
