Fix regression in methodmap tagging.
This commit is contained in:
parent
58b9fd57b2
commit
49eee8c04e
@ -703,7 +703,7 @@ int pc_addtag_flags(char *name, int flags)
|
|||||||
tag=(int)(ptr->value & TAGMASK);
|
tag=(int)(ptr->value & TAGMASK);
|
||||||
if (strcmp(name,ptr->name)==0) {
|
if (strcmp(name,ptr->name)==0) {
|
||||||
ptr->value |= flags;
|
ptr->value |= flags;
|
||||||
return tag; /* tagname is known, return its sequence number */
|
return ptr->value & TAGMASK;
|
||||||
}
|
}
|
||||||
tag &= ~TAGFLAGMASK;
|
tag &= ~TAGFLAGMASK;
|
||||||
if (tag>last)
|
if (tag>last)
|
||||||
|
Loading…
Reference in New Issue
Block a user