mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-16 22:52:50 -06:00
fixed decodeUTF8 for pgf; removed old resources from darcs
This commit is contained in:
@@ -172,7 +172,7 @@ startCat :: PGF -> Category
|
||||
---------------------------------------------------
|
||||
|
||||
readPGF f = do
|
||||
s <- readFile f
|
||||
s <- readFile f >>= return . decodeUTF8 -- pgf is in UTF8, internal in unicode
|
||||
g <- parseGrammar s
|
||||
return $! toPGF g
|
||||
|
||||
|
||||
Reference in New Issue
Block a user