fix the issue of float constant parsing