mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
zsh-workers/8697
This commit is contained in:
parent
955321f470
commit
4c45ac1c27
1 changed files with 2 additions and 2 deletions
|
@ -188,8 +188,8 @@ zzlex(void)
|
|||
char *prev_locale;
|
||||
#endif
|
||||
int cct = 0;
|
||||
yyval.type = MN_INTEGER;
|
||||
|
||||
yyval.type = MN_INTEGER;
|
||||
for (;; cct = 0)
|
||||
switch (*ptr++) {
|
||||
case '+':
|
||||
|
@ -367,7 +367,7 @@ zzlex(void)
|
|||
#ifdef USE_LOCALE
|
||||
setlocale(LC_NUMERIC, prev_locale);
|
||||
#endif
|
||||
if (ptr == nptr || *nptr == '.' ) {
|
||||
if (ptr == nptr || *nptr == '.') {
|
||||
zerr("bad floating point constant", NULL, 0);
|
||||
return EOI;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue