From a3dc9b577f2316f63817e0ae1affc4f805b175ad Mon Sep 17 00:00:00 2001 From: lyon1998 Date: Sun, 3 Apr 2022 12:40:54 +0800 Subject: [PATCH] optimize branket_deepth check --- src/PikaParser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/PikaParser.c b/src/PikaParser.c index fa0807551..9c3f32875 100644 --- a/src/PikaParser.c +++ b/src/PikaParser.c @@ -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] == '"') {