mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
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)) {
|
||||
s++;
|
||||
if (ISSIGN((unsigned char)*s)) {
|
||||
if (ISSIGN((unsigned char)*s) ||
|
||||
isdigit((unsigned char)*s)) {
|
||||
s++;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user