re PR c++/13736 (Parser confused on compound casts)
authorMark Mitchell <mark@codesourcery.com>
Thu, 29 Jan 2004 01:29:03 +0000 (01:29 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 29 Jan 2004 01:29:03 +0000 (01:29 +0000)
commita7324e75d17b3baa22fbe33fc0a502681ad40f56
treea749774481323c60ee4d85c6ebcc2a24aceffaf9
parentd173e68599639b825a1e12884fa35c00a024bee4
re PR c++/13736 (Parser confused on compound casts)

PR c++/13736
* parser.c (cp_parser_direct_declarator): Do not prevent
backtracking inside a parenthesized declarator.
(cp_parser_parameter_declaration): Fix typo in comment.

PR c++/13736
* g++.dg/parse/cast2.C (main): New test.

From-SVN: r76825
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/cast2.C [new file with mode: 0644]