@@ -227,10 +227,10 @@ static enum StmtType Lexer_matchStmtType(char* right) {
227227 goto iter_continue ;
228228 }
229229
230- if (strEqu (cs .token1 .pyload , "pass" )){
230+ if (strEqu (cs .token1 .pyload , "pass" )) {
231231 goto iter_continue ;
232232 }
233-
233+
234234 if (strIsStartWith (cs .token1 .pyload , "." )) {
235235 if (cs .iter_index != 1 ) {
236236 is_get_chain = PIKA_TRUE ;
@@ -2549,7 +2549,6 @@ char* GenRule_toAsm(GenRule rule,
25492549}
25502550
25512551char * AST_genAsm (AST * ast , Args * outBuffs ) {
2552-
25532552 const GenRule rules_topAst [] = {
25542553 {.ins = "CTN" , .type = VAL_NONEVAL , .ast = "continue" },
25552554 {.ins = "BRK" , .type = VAL_NONEVAL , .ast = "break" },
@@ -2566,8 +2565,8 @@ char* AST_genAsm(AST* ast, Args* outBuffs) {
25662565 {.ins = "NEL" , .type = VAL_STATIC_ , .ast = "else" , .val = "1" },
25672566 {.ins = "JEZ" , .type = VAL_STATIC_ , .ast = "if" , .val = "1" },
25682567 {.ins = "JEZ" , .type = VAL_STATIC_ , .ast = "while" , .val = "2" },
2569- };
2570-
2568+ };
2569+
25712570 Args buffs = {0 };
25722571 char * pikaAsm = strsCopy (& buffs , "" );
25732572 QueueObj * exitBlock ;
@@ -2799,7 +2798,6 @@ char* AST_genAsm(AST* ast, Args* outBuffs) {
27992798 goto exit ;
28002799 }
28012800
2802-
28032801 for (size_t i = 0 ; i < sizeof (rules_block ) / sizeof (GenRule ); i ++ ) {
28042802 GenRule rule = rules_block [i ];
28052803 if (strEqu (AST_getThisBlock (ast ), rule .ast )) {
0 commit comments