mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
Added colon to the list of punctuation chars in GSL generation.
This commit is contained in:
@@ -69,7 +69,7 @@ showToken :: Token -> String
|
|||||||
showToken t = map toLower (prt t)
|
showToken t = map toLower (prt t)
|
||||||
|
|
||||||
isPunct :: Char -> Bool
|
isPunct :: Char -> Bool
|
||||||
isPunct c = c `elem` "-_.;.,?!()[]{}"
|
isPunct c = c `elem` "-_.:;.,?!()[]{}"
|
||||||
|
|
||||||
comments :: [String] -> ShowS
|
comments :: [String] -> ShowS
|
||||||
comments = unlinesS . map (showString . ("; " ++))
|
comments = unlinesS . map (showString . ("; " ++))
|
||||||
|
|||||||
Reference in New Issue
Block a user