mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 02:32:50 -06:00
fix in the GF compiler and runtime which let us to define pre construct detecting whether this is the last token.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user