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
This commit is contained in:
parent
477d303f84
commit
6e19bb3853
@ -1,3 +1,8 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user