diff --git a/src/asm/lexer.c b/src/asm/lexer.c index e2a0636e..b5a88129 100644 --- a/src/asm/lexer.c +++ b/src/asm/lexer.c @@ -965,6 +965,7 @@ static void readFractionalPart(void) break; } value = value * 10 + (c - '0'); + divisor *= 10; } if (yylval.nConstValue > INT16_MAX || yylval.nConstValue < INT16_MIN)