mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +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;
|
char *prev_locale;
|
||||||
#endif
|
#endif
|
||||||
int cct = 0;
|
int cct = 0;
|
||||||
yyval.type = MN_INTEGER;
|
|
||||||
|
|
||||||
|
yyval.type = MN_INTEGER;
|
||||||
for (;; cct = 0)
|
for (;; cct = 0)
|
||||||
switch (*ptr++) {
|
switch (*ptr++) {
|
||||||
case '+':
|
case '+':
|
||||||
|
@ -367,7 +367,7 @@ zzlex(void)
|
||||||
#ifdef USE_LOCALE
|
#ifdef USE_LOCALE
|
||||||
setlocale(LC_NUMERIC, prev_locale);
|
setlocale(LC_NUMERIC, prev_locale);
|
||||||
#endif
|
#endif
|
||||||
if (ptr == nptr || *nptr == '.' ) {
|
if (ptr == nptr || *nptr == '.') {
|
||||||
zerr("bad floating point constant", NULL, 0);
|
zerr("bad floating point constant", NULL, 0);
|
||||||
return EOI;
|
return EOI;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue