mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r8397: merged an upstream fix for the expression bug tpot found yesterday
(This used to be commit 93712dd894b4ddaa2281034c754c0fa15f5ec34c)
This commit is contained in:
parent
61edb97bdf
commit
e5700ea560
@ -663,11 +663,11 @@ static int getLexicalToken(Ejs *ep, int state)
|
||||
break;
|
||||
}
|
||||
#if BLD_FEATURE_FLOATING_POINT
|
||||
if (c == '.' || tolower(c) == 'e' || c == '+' || c == '-') {
|
||||
if (c == '.' || tolower(c) == 'e' || tolower(c) == 'f') {
|
||||
type = MPR_TYPE_FLOAT;
|
||||
}
|
||||
} while (isdigit(c) || c == '.' || tolower(c) == 'e' ||
|
||||
c == '+' || c == '-');
|
||||
} while (isdigit(c) || c == '.' || tolower(c) == 'e' || tolower(c) == 'f' ||
|
||||
((type == MPR_TYPE_FLOAT) && (c == '+' || c == '-')));
|
||||
#else
|
||||
} while (isdigit(c));
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user