ref: 615f1072d95d5d382012b2f0b2b55bc5ec61c436
parent: f7b7a97407c473c246546905e8ed4123503b579b
author: ISSOtm <[email protected]>
date: Tue Aug 18 09:31:59 EDT 2020
Fix `readFractionalPart` never shifting characters
--- a/src/asm/lexer.c
+++ b/src/asm/lexer.c
@@ -948,6 +948,7 @@
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");