Commit 6e19bb38 by Zack Weinberg Committed by Zack Weinberg

cpplib.c (cpp_register_pragma_space): Just return if the namespace is already registered.

	* cpplib.c (cpp_register_pragma_space): Just return if the
	namespace is already registered.

From-SVN: r35798
parent 477d303f
2000-08-18 Zack Weinberg <zack@wolery.cumb.org>
* cpplib.c (cpp_register_pragma_space): Just return if the
namespace is already registered.
2000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com>
* config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
......
......@@ -689,10 +689,9 @@ cpp_register_pragma_space (pfile, space)
while (p)
{
if (p->isnspace && p->len == len && !memcmp (p->name, space, len))
{
cpp_ice (pfile, "#pragma namespace %s already registered", space);
return;
}
/* Multiple different callers are allowed to register the same
namespace. */
return;
p = p->next;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment