Improved reading integers in lexer.

Now if the integer is too big, it will be considered as a float (intead
of display compilation error).
Fixed small bug in debug data writer.