Add octal and hexadecimal number parser.