Ignore:
Timestamp:
Mar 26, 2010, 11:56:50 AM (15 years ago)
Author:
rybkin
Message:

See C.L. 422

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_parser.cxx

    r532 r535  
    532532  log << "configure_site_tag" << log_endl;
    533533  configure_site_tag (0);
     534  log << "configure_current_dir" << log_endl;
     535  configure_current_dir ();
    534536  log << "configure_home" << log_endl;
    535537  // CMTHOME, CMTUSERCONTEXT and CMTPATH
    536538  configure_home (0);
    537   log << "configure_current_dir" << log_endl;
     539  //  log << "configure_current_dir" << log_endl;
    538540
    539541
     
    547549  Me.m_quiet = save_quiet;
    548550
    549   configure_current_dir ();
     551  //  configure_current_dir ();
    550552
    551553  guess_current_project ();
     
    42894291  cout << "----------> uses" << endl;
    42904292  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 ();
    42914297
    42924298  cout << "----------> tags" << endl;
     
    45714577}
    45724578
     4579const 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
    45734587const cmt_string& Cmt::get_current_package ()
    45744588{
    45754589  return (Me.m_current_package);
     4590}
     4591
     4592const cmt_string& Cmt::get_current_path ()
     4593{
     4594  return (Me.m_current_path);
    45764595}
    45774596
     
    85628581
    85638582//----------------------------------------------------------
     8583void Cmt::set_recursive (bool mode)
     8584{
     8585  Me.m_recursive = mode;
     8586}
     8587
     8588//----------------------------------------------------------
    85648589void Cmt::set_scope_filtering_mode (CmtScopeFilteringMode mode)
    85658590{
     
    87788803  f += CmtSystem::file_separator ();
    87798804  f += file_name;
     8805  if (CmtSystem::test_file (f))
     8806    {
     8807      use->m_located = true;
     8808    }
    87808809  SyntaxParser::parse_requirements (f, use);
    87818810
Note: See TracChangeset for help on using the changeset viewer.