parse.y (template_parm_header, [...]): New reductions.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 11 Jan 2001 11:29:06 +0000 (11:29 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 11 Jan 2001 11:29:06 +0000 (11:29 +0000)
commitb37bf5bdb3fb6f648e103c35df5a05165277956d
tree11b6da7db1cd5be48000f077ba320d400ebfe72a
parent0ab409ed42980a740a408a48ec54d715358933d9
parse.y (template_parm_header, [...]): New reductions.

cp:
* parse.y (template_parm_header, template_spec_header): New
reductions. Split out from ...
(template_header): ... here. Use them.
(template_template_parm): Use template_parm_header.
* semantics.c (finish_template_template_parm): Add assert.
testsuite:
* g++.old-deja/g++.pt/crash63.C: New test.

From-SVN: r38900
gcc/cp/ChangeLog
gcc/cp/parse.y
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/crash63.C [new file with mode: 0644]