- Timestamp:
- Nov 28, 2011, 11:24:18 AM (12 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r588 r589 1 2011-11-28 <rybkin@lal.in2p3.fr> 466 2 3 * source/cmt_constituent.cxx: In class Constituent, in function parse, 4 keep associated tag target_<name> only if this tag is used in tag or symbol 5 expression 6 1 7 2011-11-27 <rybkin@lal.in2p3.fr> 465 2 8 -
CMT/HEAD/source/cmt_constituent.cxx
r588 r589 389 389 } 390 390 391 if (has_target_tag && (Document != type || "cmt_actions" != group->name ())) 392 { 393 const Tag* tag = Tag::find ("target_" + name); 394 if (!Tag::check_tag_used (tag) && !Symbol::check_tag_used (tag)) 395 { 396 // Keep associated tag target_<name> 397 // only if this tag is used somewhere 398 // in tag or symbol expression 399 has_target_tag = false; 400 CmtMessage::verbose ("discarded tag target_" + name + " for " 401 + (type == Application ? "application " : 402 (type == Library ? "library " : "document ")) 403 + name); 404 } 405 } 406 391 407 parameters.clear (); 392 408 } … … 437 453 constituent->group = Group::add ("cmt_actions"); 438 454 439 // Do NOT ass igntarget_<name> by default455 // Do NOT associate target_<name> by default 440 456 // but only if this tag is used somewhere 457 // in tag or symbol expression 441 458 if (target_tag_used) 442 459 constituent->has_target_tag = true;
Note: See TracChangeset
for help on using the changeset viewer.