1
0
Fork 0
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:
Tanaka Akira 1999-11-21 03:35:38 +00:00
parent 955321f470
commit 4c45ac1c27

View file

@ -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;
} }