Handle '.' correctly in hex float literal parsing.