mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-21 18:59:32 -06:00
prefix and variants restored in linearization
This commit is contained in:
@@ -55,8 +55,7 @@ module PGF(
|
||||
) where
|
||||
|
||||
import PGF.CId
|
||||
import PGF.Linearize hiding (linearize)
|
||||
import qualified PGF.Linearize (linearize)
|
||||
import PGF.Linearize
|
||||
import PGF.Generate
|
||||
import PGF.Macros
|
||||
import PGF.Data
|
||||
@@ -177,7 +176,7 @@ readPGF f = do
|
||||
g <- parseGrammar s
|
||||
return $! toPGF g
|
||||
|
||||
linearize pgf lang = PGF.Linearize.linearize pgf (mkCId lang)
|
||||
linearize pgf lang = concat . take 1 . PGF.Linearize.linearizes pgf (mkCId lang)
|
||||
|
||||
parse pgf lang cat s =
|
||||
case Map.lookup (mkCId lang) (concretes pgf) of
|
||||
|
||||
Reference in New Issue
Block a user