mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-18 12:01:00 +01:00
zsh-3.1.6-pws-9
This commit is contained in:
parent
9963a4294c
commit
44cd8ebe74
9 changed files with 419 additions and 13 deletions
|
|
@ -188,8 +188,8 @@ zzlex(void)
|
|||
char *prev_locale;
|
||||
#endif
|
||||
int cct = 0;
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue