--- a/tools/pas2c/PascalParser.hs Thu Feb 06 19:05:22 2014 +0100
+++ b/tools/pas2c/PascalParser.hs Thu Feb 06 23:02:35 2014 +0400
@@ -121,9 +121,9 @@
typeDecl = choice [
char '^' >> typeDecl >>= return . PointerTo
- , try (string "shortstring") >> return (String 255)
- , try (string "string") >> optionMaybe (brackets pas $ integer pas) >>= return . String . fromMaybe 255
- , try (string "ansistring") >> optionMaybe (brackets pas $ integer pas) >>= return . String . fromMaybe 255
+ , try (string "shortstring") >> return String
+ , try (string "string") >> optionMaybe (brackets pas $ integer pas) >> return String
+ , try (string "ansistring") >> optionMaybe (brackets pas $ integer pas) >> return String
, arrayDecl
, recordDecl
, setDecl