Make sure overriden tag is done with _:

This commit is contained in:
Arkshine 2014-12-09 22:59:57 +01:00
parent 78940b46a4
commit 4b11a54345

View File

@ -1225,7 +1225,7 @@ static int hier2(value *lval)
return FALSE; return FALSE;
case tLABEL: /* tagname override */ case tLABEL: /* tagname override */
tag=pc_addtag(st); tag=pc_addtag(st);
forceuntag=(*st == '_'); /* forced to be untagged with _: */ forceuntag=(*st == '_' && !tag); /* forced to be untagged with _: */
lvalue=hier2(lval); lvalue=hier2(lval);
lval->tag=tag; lval->tag=tag;
lval->forceuntag=forceuntag; lval->forceuntag=forceuntag;