Treat numbers after [Ee] a positive number rather than an invalid
one.
This commit is contained in:
parent
ad54221048
commit
0a167a9b98
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204107
@ -207,7 +207,8 @@ numeric(const char *s)
|
|||||||
}
|
}
|
||||||
if (ISEXP((unsigned char)*s)) {
|
if (ISEXP((unsigned char)*s)) {
|
||||||
s++;
|
s++;
|
||||||
if (ISSIGN((unsigned char)*s)) {
|
if (ISSIGN((unsigned char)*s) ||
|
||||||
|
isdigit((unsigned char)*s)) {
|
||||||
s++;
|
s++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user