]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/c-parse.in
c-common.c (verify_sequence_points): Export.
[thirdparty/gcc.git] / gcc / c-parse.in
index 176e97a7281c3765531f2754b1c5fa02623207db..ce8829a0321d85a17220778eadf254c3e63996ae 100644 (file)
@@ -2210,7 +2210,7 @@ select_or_iter_stmt:
 
 for_init_stmt:
          xexpr ';'
-               { add_stmt (build_stmt (EXPR_STMT, $1)); }
+               { c_finish_expr_stmt ($1); }
        | decl
                { check_for_loop_decls (); }
        ;
@@ -2226,7 +2226,7 @@ stmt:
          compstmt
                { stmt_count++; add_stmt ($1); }
        | expr ';'
-               { stmt_count++; c_expand_expr_stmt ($1); }
+               { stmt_count++; c_finish_expr_stmt ($1); }
        | c99_block_start select_or_iter_stmt
                 { add_stmt (c_end_compound_stmt ($1, flag_isoc99)); }
        | BREAK ';'