re PR c++/23586 (Bad diagnostic for invalid namespace-name)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Tue, 30 Aug 2005 16:22:00 +0000 (16:22 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 30 Aug 2005 16:22:00 +0000 (16:22 +0000)
commit166206ce70f9c9ef4e4f418e958ea635b953cf1c
tree149d5122acf1aea4600cd84ba169da49ef609206
parent7a98d47cf7832ce369db72c587b9ed0d48f21755
re PR c++/23586 (Bad diagnostic for invalid namespace-name)

PR c++/23586
* parser.c (cp_parser_namespace_name): Move diagnostic for
invalid namespace-name to here from ...
* name-lookup.c (do_namespace_alias): ... here and ...
(do_using_directive): ... here.  Remove dead code.

From-SVN: r103643
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/parser.c