1
0
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:
JT 2015-07-19 18:56:42 -04:00
parent 71530f3f5d
commit b79687da2b

View File

@ -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;