]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.cpp
Merge branch 'master' into cleanup
[xonotic/gmqcc.git] / parser.cpp
index df1715c53f2709371aeadb62af7810460b97f1d8..51f7e1ea6c571d20b158953b803b306f52f1c35d 100644 (file)
@@ -2523,8 +2523,7 @@ static bool parse_for_go(parser_t *parser, ast_block *block, ast_expression **ou
             parseerror(parser, "expected for-loop condition");
             goto onerr;
         }
-    }
-    else if (!parser_next(parser)) {
+    } else if (!parser_next(parser)) {
         parseerror(parser, "expected for-loop condition");
         goto onerr;
     }
@@ -2535,7 +2534,6 @@ static bool parse_for_go(parser_t *parser, ast_block *block, ast_expression **ou
         if (!cond)
             goto onerr;
     }
-
     /* move on to incrementor */
     if (parser->tok != ';') {
         parseerror(parser, "expected semicolon after for-loop initializer");