diff -r 14224c9b4594 -r 7c6f9b6672dc tools/PascalParser.hs --- a/tools/PascalParser.hs Sun Nov 27 14:46:57 2011 +0300 +++ b/tools/PascalParser.hs Sun Nov 27 19:34:08 2011 +0300 @@ -434,8 +434,8 @@ , parens pas $ expression , brackets pas (commaSep pas iD) >>= return . SetExpression , try $ natural pas >>= \i -> notFollowedBy (char '.') >> (return . NumberLiteral . show) i - , try $ float pas >>= return . FloatLiteral . show - , try $ natural pas >>= return . NumberLiteral . show + , float pas >>= return . FloatLiteral . show + , natural pas >>= return . NumberLiteral . show , stringLiteral pas >>= return . StringLiteral , try (string "#$") >> many hexDigit >>= \c -> comments >> return (HexCharCode c) , char '#' >> many digit >>= \c -> comments >> return (CharCode c)