Commit 37579d7c authored by Richard M. Stallman's avatar Richard M. Stallman

(isfloat_string): Permit trailing space.

parent 0bb083c2
......@@ -1453,7 +1453,7 @@ isfloat_string (cp)
while (*cp >= '0' && *cp <= '9')
cp++;
}
return (*cp == 0
return (((*cp == 0) || (*cp == ' ') || (*cp == '\t') || (*cp == '\n') || (*cp == '\r') || (*cp == '\f'))
&& (state == (LEAD_INT|DOT_CHAR|TRAIL_INT)
|| state == (DOT_CHAR|TRAIL_INT)
|| state == (LEAD_INT|E_CHAR|EXP_INT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment