optimize branket_deepth check

This commit is contained in:
lyon1998 2022-04-03 12:40:54 +08:00
parent 14ec232bb3
commit a3dc9b577f

View File

@ -169,10 +169,8 @@ static enum StmtType Lexer_matchStmtType(char* right) {
goto iter_continue;
}
if (ps.token2.type == TOKEN_devider) {
// if (strEqu(ps.token2.pyload, "(")) {
is_get_method = 1;
goto iter_continue;
// }
}
if (ps.token1.type == TOKEN_literal) {
if (ps.token1.pyload[0] == '\'' || ps.token1.pyload[0] == '"') {