Detect (and reject with an error) preprocessing numbers that are not valid integer or floating constants.