Changeset 526 for CMT/HEAD/source
- Timestamp:
- Nov 13, 2009, 11:56:56 AM (15 years ago)
- Location:
- CMT/HEAD/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_project.cxx
r525 r526 1800 1800 1801 1801 //---------------------------------------------------------- 1802 const Use& Project::get_container () const 1803 { 1804 return (m_container); 1805 } 1806 1807 //---------------------------------------------------------- 1802 1808 const cmt_string& Project::get_cmtpath () const 1803 1809 { -
CMT/HEAD/source/cmt_project.h
r525 r526 140 140 const cmt_string& get_container_version () const; 141 141 const cmt_string& get_container_path () const; 142 //const Use& get_container () const;142 const Use& get_container () const; 143 143 const cmt_string& get_cmtpath () const; 144 144 const cmt_string& get_cmtpath_real () const; -
CMT/HEAD/source/cmt_syntax.cxx
r525 r526 1464 1464 1465 1465 } 1466 // Apply tag container_package if 1467 // the current package is the container package of the project 1468 if (use == &(Use::current ()) && 1469 use->get_package_name() == p->get_container ().get_package_name () && 1470 use->version == p->get_container ().version) 1471 { 1472 cmt_string name ("container_package"); 1473 cmt_string context ("PROJECT " + p->get_name () + " "); 1474 Tag* tag = Tag::find (name); 1475 if (tag == 0) 1476 { 1477 tag = Tag::add (name, PriorityUserTag, context, use); 1478 } 1479 tag->mark (); 1480 } 1466 1481 } 1467 1482 use->close_scope_sections ();
Note: See TracChangeset
for help on using the changeset viewer.