Fix erroneous parsing of numbers. Hex numbers and decimal numbers can now coexist peacefully in the same parser.

All tests now pass.