mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
optimize branket_deepth check
This commit is contained in:
parent
14ec232bb3
commit
a3dc9b577f
@ -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] == '"') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user