Scanning radix syntax. The scanner will thrown an error when a digit not valid for the specified base it given as a part of the number.