mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Fix base 10 bug (ca65 allows 'a' or 'A' in base10 value)
This commit is contained in:
parent
71530f3f5d
commit
b79687da2b
@ -1012,7 +1012,7 @@ Again:
|
||||
break;
|
||||
}
|
||||
DVal = DigitVal (Buf[I]);
|
||||
if (DVal > Base) {
|
||||
if (DVal >= Base) {
|
||||
Error ("Invalid digits in number");
|
||||
CurTok.IVal = 0;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user