Merge branch '2.2' into 2.3
This commit is contained in:
@ -1120,7 +1120,7 @@ static bool token_is_keyword(const char* tok, int len)
|
||||
{
|
||||
for (int i = 0; keywords[i]; i++)
|
||||
{
|
||||
if (strncasecmp(keywords[i], tok, len) == 0)
|
||||
if (strncasecmp(keywords[i], tok, len) == 0 && strlen(keywords[i]) == len)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user