Update parser.h

This commit is contained in:
blueloveTH 2023-02-10 03:44:02 +08:00
parent c329f83520
commit c2d451695c

View File

@ -231,7 +231,7 @@ struct Parser {
return 0; return 0;
} }
if(kTokenKwMap.count(name)){ if(kTokenKwMap.contains(name)){
if(name == "not"){ if(name == "not"){
if(strncmp(curr_char, " in", 3) == 0){ if(strncmp(curr_char, " in", 3) == 0){
curr_char += 3; curr_char += 3;