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>
|
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
|
* config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
|
||||||
|
@ -689,10 +689,9 @@ cpp_register_pragma_space (pfile, space)
|
|||||||
while (p)
|
while (p)
|
||||||
{
|
{
|
||||||
if (p->isnspace && p->len == len && !memcmp (p->name, space, len))
|
if (p->isnspace && p->len == len && !memcmp (p->name, space, len))
|
||||||
{
|
/* Multiple different callers are allowed to register the same
|
||||||
cpp_ice (pfile, "#pragma namespace %s already registered", space);
|
namespace. */
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
p = p->next;
|
p = p->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user