mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 00:22:51 -06:00
German phrasebook; ontology document; ignoring single lines in gfdoc
This commit is contained in:
@@ -20,4 +20,8 @@ doUpdate src (target,ls) = do
|
||||
appendFile tmp $ unlines [(line ++ "-- UPDATE FROM " ++ src) | line <- ls]
|
||||
appendFile tmp "\n}\n"
|
||||
|
||||
dropLastBracket s = s
|
||||
tmpFile file = "tmp-update/"++ file
|
||||
|
||||
---- quick and dirty
|
||||
dropLastBracket = reverse . init . dropWhile (/='}') . reverse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user