Changeset 535 for CMT/HEAD/source/cmt_parser.cxx
- Timestamp:
- Mar 26, 2010, 11:56:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_parser.cxx
r532 r535 532 532 log << "configure_site_tag" << log_endl; 533 533 configure_site_tag (0); 534 log << "configure_current_dir" << log_endl; 535 configure_current_dir (); 534 536 log << "configure_home" << log_endl; 535 537 // CMTHOME, CMTUSERCONTEXT and CMTPATH 536 538 configure_home (0); 537 log << "configure_current_dir" << log_endl;539 // log << "configure_current_dir" << log_endl; 538 540 539 541 … … 547 549 Me.m_quiet = save_quiet; 548 550 549 configure_current_dir ();551 // configure_current_dir (); 550 552 551 553 guess_current_project (); … … 4289 4291 cout << "----------> uses" << endl; 4290 4292 do_show_uses (ap); 4293 // This is temporary to ensure that Make - which runs "cmt show setup" - 4294 // does not fail for packages with unresolved uses 4295 if (CmtError::get_last_error_code () == CmtError::package_not_found) 4296 CmtError::clear (); 4291 4297 4292 4298 cout << "----------> tags" << endl; … … 4571 4577 } 4572 4578 4579 const cmt_string Cmt::get_current_dir_real () 4580 { 4581 cmt_string current_dir_real; 4582 if (CmtSystem::realpath_ (Me.m_current_dir, current_dir_real)) 4583 return current_dir_real; 4584 return (Me.m_current_dir); 4585 } 4586 4573 4587 const cmt_string& Cmt::get_current_package () 4574 4588 { 4575 4589 return (Me.m_current_package); 4590 } 4591 4592 const cmt_string& Cmt::get_current_path () 4593 { 4594 return (Me.m_current_path); 4576 4595 } 4577 4596 … … 8562 8581 8563 8582 //---------------------------------------------------------- 8583 void Cmt::set_recursive (bool mode) 8584 { 8585 Me.m_recursive = mode; 8586 } 8587 8588 //---------------------------------------------------------- 8564 8589 void Cmt::set_scope_filtering_mode (CmtScopeFilteringMode mode) 8565 8590 { … … 8778 8803 f += CmtSystem::file_separator (); 8779 8804 f += file_name; 8805 if (CmtSystem::test_file (f)) 8806 { 8807 use->m_located = true; 8808 } 8780 8809 SyntaxParser::parse_requirements (f, use); 8781 8810
Note: See TracChangeset
for help on using the changeset viewer.