Fixed the parsing of LiteralInteger

It turns out \d is not supported by flex.. [0-9]+ however is :P
Complete list of everything supported in flex compared to some other
regex implementations can be found here http://marvin.cs.uidaho.edu/Handouts/regex.html