]> gcc.gnu.org Git - gcc.git/commit
cp-tree.h (begin_switch_stmt): Adjust prototype.
authorMark Mitchell <mark@codesourcery.com>
Thu, 9 Sep 1999 22:28:15 +0000 (22:28 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 9 Sep 1999 22:28:15 +0000 (22:28 +0000)
commit527f0080b0407487c0ed478b63989e443b112144
tree5eb83d783c84045000af919d00bfe42328a92153
parent8a79e5cb72647db7aacbb5d1eae29162ccee8549
cp-tree.h (begin_switch_stmt): Adjust prototype.

* cp-tree.h (begin_switch_stmt): Adjust prototype.
(finish_switch_cond): Likewise.
* parse.y (simple_stmt): Adjust accordingly.
* parse.c: Regenerated.
* pt.c (tsubst_expr): Adjust accordingly.
* semantics.c (expand_cond): New function.
(FINISH_COND): New macro.
(begin_switch_stmt): Build the SWITCH_STMT here.
(finish_switch_stmt_cond): Not here.
(expand_stmt): Adjust calls to begin_switch_stmt and
finish_switch_cond.  Use expand_cond throughout.

From-SVN: r29246
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.pt/switch1.C [new file with mode: 0644]
This page took 0.060234 seconds and 5 git commands to generate.