Fix integer max value

This commit is contained in:
Augusto Gunsch 2021-01-06 13:31:17 -03:00
parent 4801399273
commit d20f54b8d6
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ bool isintcons(STRING* tk) {
if(!isint(tk->str)) if(!isint(tk->str))
return false; return false;
int val = atoi(tk->str); int val = atoi(tk->str);
return val >= 0 && val <= 32767; return val <= 65535;
} }
bool isidentifier(STRING* tk) { bool isidentifier(STRING* tk) {