Skip to content
This repository
Browse code

Fixed some dangling '}', it compiles again now

  • Loading branch information...
commit 200b425db02c97bdacb769de2ede98d130517df0 1 parent 73749db
Wolfgang Bumiller Blub authored

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. +1 4 ast.c
5 ast.c
@@ -949,7 +949,7 @@ bool ast_loop_codegen(ast_loop *self, ast_function *func, bool lvalue, ir_value
949 949 ir_block *old_bcontinue;
950 950 ir_block *old_bbreak;
951 951
952   - ir_block *btemp;
  952 + ir_block *tmpblock;
953 953
954 954 (void)lvalue;
955 955 (void)out;
@@ -1089,7 +1089,6 @@ bool ast_loop_codegen(ast_loop *self, ast_function *func, bool lvalue, ir_value
1089 1089 else tmpblock = bout;
1090 1090 if (!ir_block_create_jump(bin, tmpblock))
1091 1091 return false;
1092   - }
1093 1092
1094 1093 /* From precond */
1095 1094 if (bprecond)
@@ -1113,7 +1112,6 @@ bool ast_loop_codegen(ast_loop *self, ast_function *func, bool lvalue, ir_value
1113 1112 else tmpblock = bout;
1114 1113 if (!ir_block_create_jump(end_bbody, tmpblock))
1115 1114 return false;
1116   - }
1117 1115 }
1118 1116
1119 1117 /* from increment */
@@ -1125,7 +1123,6 @@ bool ast_loop_codegen(ast_loop *self, ast_function *func, bool lvalue, ir_value
1125 1123 else tmpblock = bout;
1126 1124 if (!ir_block_create_jump(end_bincrement, tmpblock))
1127 1125 return false;
1128   - }
1129 1126 }
1130 1127
1131 1128 /* from postcond */

0 comments on commit 200b425

Please sign in to comment.
Something went wrong with that request. Please try again.