c-parse.in (ends_in_label): Remove from %union and %type.
authorJoseph Myers <jsm28@cam.ac.uk>
Mon, 13 Nov 2000 14:20:04 +0000 (14:20 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 13 Nov 2000 14:20:04 +0000 (14:20 +0000)
commitb74384156ad5f011dd72171c329732806ae23736
tree2eac56e1517f787b5e2a6759c18bb2bfd56e6a5c
parent19552aa5728591fdd2913ef54422e869af46852e
c-parse.in (ends_in_label): Remove from %union and %type.

* c-parse.in (ends_in_label): Remove from %union and %type.
(decls, stmts, lineno_stmt_or_labels, xstmts,
lineno_stmt_or_label, stmt_or_label): Remove.
(stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
lineno_stmt_decl_or_labels_ending_decl,
lineno_stmt_decl_or_labels_ending_label,
lineno_stmt_decl_or_labels_ending_error,
lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
lineno_stmt, lineno_label): New.
(compstmt_nostart): Use compstmt_contents_nonempty.

testsuite:
* gcc.dg/c99-mixdecl-1.c, gcc.dg/c90-mixdecl-1.c: New tests.

From-SVN: r37429
gcc/ChangeLog
gcc/c-parse.in
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c90-mixdecl-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/c99-mixdecl-1.c [new file with mode: 0644]