Fix bugs with parsing exponential literals
Merge pull request #531 from pauldraper/parse-exponential

Fix bugs with parsing exponential literals