Fix wrong type in check inside OperatorPrecedence

This commit is contained in:
Curle 2020-11-21 23:15:24 +00:00
parent 72fa2127c8
commit 2345931528
Signed by: TheCurle
GPG Key ID: 5942F13718443F79

View File

@ -28,7 +28,7 @@ static int Precedence[] =
static int OperatorPrecedence(int Token) {
int Prec = Precedence[Token];
if(Prec == 0 || Token >= RET_VOID) {
if(Prec == 0 || Token >= LI_INT) {
DieMessage("Attempting to determine operator precedence of an EOF or INT literal", TokenNames[Token]);
}