diff --git a/src/asm/lexer.c b/src/asm/lexer.c index 6a5d9198..1fd5d2b0 100644 --- a/src/asm/lexer.c +++ b/src/asm/lexer.c @@ -948,6 +948,7 @@ static void readFractionalPart(void) if (c < '0' || c > '9') break; + shiftChars(1); if (divisor > (UINT32_MAX - (c - '0')) / 10) { warning(WARNING_LARGE_CONSTANT, "Precision of fixed-point constant is too large\n");