mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-03 00:02:50 -06:00
switched the upper and lower parts of lexc entries to their standard order
This commit is contained in:
@@ -1229,10 +1229,10 @@ infinity = 256
|
|||||||
|
|
||||||
prLexcLexicon :: Morpho -> String
|
prLexcLexicon :: Morpho -> String
|
||||||
prLexcLexicon mo =
|
prLexcLexicon mo =
|
||||||
unlines $ "LEXICON" : [w ++ ":" ++ prLexc l p | (w,lps) <- morpho, (l,p) <- lps] ++ ["END"]
|
unlines $ "LEXICON" : [prLexc l p ++ ":" ++ w ++ " # ;" | (w,lps) <- morpho, (l,p) <- lps] ++ ["END"]
|
||||||
where
|
where
|
||||||
morpho = fullFormLexicon mo
|
morpho = fullFormLexicon mo
|
||||||
prLexc l p = showCId l ++ mkTags (words p) ++ " # ;"
|
prLexc l p = showCId l ++ mkTags (words p)
|
||||||
mkTags p = case p of
|
mkTags p = case p of
|
||||||
"s":ws -> mkTags ws --- remove record field
|
"s":ws -> mkTags ws --- remove record field
|
||||||
ws -> concat $ "+" : intersperse "+" ws
|
ws -> concat $ "+" : intersperse "+" ws
|
||||||
|
|||||||
Reference in New Issue
Block a user