Fix regression in methodmap tagging.

This commit is contained in:
David Anderson 2014-07-04 16:55:33 -07:00
parent 58b9fd57b2
commit 49eee8c04e

View File

@ -703,7 +703,7 @@ int pc_addtag_flags(char *name, int flags)
tag=(int)(ptr->value & TAGMASK);
if (strcmp(name,ptr->name)==0) {
ptr->value |= flags;
return tag; /* tagname is known, return its sequence number */
return ptr->value & TAGMASK;
}
tag &= ~TAGFLAGMASK;
if (tag>last)