Changes to make GF compile with GHC 6.5 from CVS: remove inlines use of !, change all latin-1 characters in haskell code to escapes.

This commit is contained in:
bringert
2006-05-20 02:56:06 +00:00
parent 49849d7fe3
commit b7e1e31909
14 changed files with 36 additions and 24 deletions

View File

@@ -38,6 +38,7 @@ mkOne s = " \"" ++ pref s ++ (escs s) ++ "\" ++"
pref _ = "\\n" ---
escs [] = []
escs (c:cs) | elem c "\"\\" = '\\':c:escs cs
| fromEnum c > 127 = "\\" ++show (fromEnum c)++escs cs
escs (c:cs) = c:escs cs
helpHeader = unlines [