From: Wolfgang (Blub) Bumiller Date: Fri, 4 May 2012 10:26:24 +0000 (+0200) Subject: Fixed some dangling '}', it compiles again now X-Git-Tag: 0.1-rc1~489^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=200b425db02c97bdacb769de2ede98d130517df0;p=xonotic%2Fgmqcc.git Fixed some dangling '}', it compiles again now --- diff --git a/ast.c b/ast.c index be69671..00ab611 100644 --- a/ast.c +++ b/ast.c @@ -949,7 +949,7 @@ bool ast_loop_codegen(ast_loop *self, ast_function *func, bool lvalue, ir_value ir_block *old_bcontinue; ir_block *old_bbreak; - ir_block *btemp; + ir_block *tmpblock; (void)lvalue; (void)out; @@ -1089,7 +1089,6 @@ bool ast_loop_codegen(ast_loop *self, ast_function *func, bool lvalue, ir_value else tmpblock = bout; if (!ir_block_create_jump(bin, tmpblock)) return false; - } /* From precond */ if (bprecond) @@ -1113,7 +1112,6 @@ bool ast_loop_codegen(ast_loop *self, ast_function *func, bool lvalue, ir_value else tmpblock = bout; if (!ir_block_create_jump(end_bbody, tmpblock)) return false; - } } /* from increment */ @@ -1125,7 +1123,6 @@ bool ast_loop_codegen(ast_loop *self, ast_function *func, bool lvalue, ir_value else tmpblock = bout; if (!ir_block_create_jump(end_bincrement, tmpblock)) return false; - } } /* from postcond */