diff options
Diffstat (limited to 'Src/math.c')
-rw-r--r-- | Src/math.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/math.c b/Src/math.c index 6b7104e1b..7e4230c9b 100644 --- a/Src/math.c +++ b/Src/math.c @@ -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; } |