+2002-04-16 Paolo Carlini <pcarlini@unitus.it>
+
+ * c-parse.in (poplevel, compstmt_start,
+ compstmt_primary_start): Add ending ';', in accordance
+ with POSIX.
+
2002-04-16 Richard Henderson <rth@redhat.com>
* config.gcc (sparcv9-solaris): Configure for 64-bit default.
poplevel: /* empty */
{ $$ = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); }
+ ;
/* Start and end blocks created for the new scopes of C99. */
c99_block_start: /* empty */
;
compstmt_start: '{' { compstmt_count++;
- $$ = c_begin_compound_stmt (); }
+ $$ = c_begin_compound_stmt (); }
+ ;
compstmt_nostart: '}'
{ $$ = convert (void_type_node, integer_zero_node); }
compstmt_count++;
$$ = add_stmt (build_stmt (COMPOUND_STMT, last_tree));
}
+ ;
compstmt: compstmt_start compstmt_nostart
{ RECHAIN_STMTS ($1, COMPOUND_BODY ($1));