Fix integer max value

This commit is contained in:
Augusto Gunsch 2021-01-06 13:31:17 -03:00
parent ea7f35c96d
commit 8325b067b4
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 1 additions and 1 deletions

View File

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