Corrected parsing of real numbers and periods.