parse.y (function_body): Suppress the block for the outermost curly braces.
authorJason Merrill <jason@redhat.com>
Tue, 22 Jan 2002 14:42:09 +0000 (09:42 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 22 Jan 2002 14:42:09 +0000 (09:42 -0500)
commitb58564754b8f157067e661a00c83c8fd9c75dc54
tree3d7cb8c1f3c21239a3a8a7046c8a953c2a4a34a0
parent6bc34b14ef3f254de4bf8570d1282d1cfd89c134
parse.y (function_body): Suppress the block for the outermost curly braces.

        * parse.y (function_body): Suppress the block for the outermost
        curly braces.
        * decl.c (pushdecl): Don't try to skip it.
        (begin_function_body): Keep the block we create, not the next one.
        * init.c (emit_base_init): Don't mess with keep_next_level.

From-SVN: r49076
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/parse.y