diff --git a/lex.c b/lex.c index 6699711..8cd6adb 100644 --- a/lex.c +++ b/lex.c @@ -144,7 +144,7 @@ enum LexToken LexGetNumber(struct LexState *Lexer, struct Value *Value) { Base = 16; Lexer->Pos++; } else if (*Lexer->Pos == 'b' || *Lexer->Pos == 'B') { Base = 2; Lexer->Pos++; } - else + else if (*Lexer->Pos != '.') Base = 8; } } diff --git a/platform.h b/platform.h index 4194360..ae19ec9 100644 --- a/platform.h +++ b/platform.h @@ -48,7 +48,7 @@ # ifndef NO_FP # include # define PICOC_MATH_LIBRARY -# define NEED_MATH_LIBRARY +# undef NEED_MATH_LIBRARY # undef BIG_ENDIAN #endif