tools/pas2c/Pas2C.hs
changeset 10763 161b9104b7b3
parent 10688 9459c45b5190
child 11403 c3a535886806
--- a/tools/pas2c/Pas2C.hs	Mon Jan 05 11:35:04 2015 +0300
+++ b/tools/pas2c/Pas2C.hs	Mon Jan 05 18:30:43 2015 +0300
@@ -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