mirror of
https://github.com/cc65/cc65.git
synced 2025-01-24 20:30:08 +00:00
Merge pull request #181 from Movax12/base10bug
Fix base 10 bug (ca65 allows 'a' or 'A' in base10 value)
This commit is contained in:
commit
db16a8eb24
@ -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