Number parsing should fail for trailing dot (period) (original) (raw)

Looks like content such as:

[ 100.300.30 ]

passes and reports number token 100.300, only failing when trying to access to the following token.
This should be caught earlier.