tools/pas2c/Pas2C.hs
branch0.9.21
changeset 10747 07ade56c3b4a
parent 10688 9459c45b5190
child 11403 c3a535886806
--- a/tools/pas2c/Pas2C.hs	Sun Jan 04 14:04:17 2015 -0500
+++ b/tools/pas2c/Pas2C.hs	Tue Jan 06 17:07:34 2015 +0100
@@ -668,6 +668,7 @@
 initExpr2C' (InitHexNumber s) = return $ text "0x" <> (text . map toLower $ s)
 initExpr2C' (InitString [a]) = return . quotes $ text [a]
 initExpr2C' (InitString s) = return $ strInit s
+initExpr2C' (InitPChar s) = return $ doubleQuotes (text $ escapeStr s)
 initExpr2C' (InitChar a) = return $ text "0x" <> text (showHex (read a) "")
 initExpr2C' (InitReference i) = id2C IOLookup i
 initExpr2C' (InitRecord fields) = do