Ignore:
Timestamp:
Apr 18, 2011, 5:09:27 PM (13 years ago)
Author:
rybkin
Message:

See C.L. 450

File:
1 edited

Legend:

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

    r565 r567  
    27042704
    27052705  set_standard_macros ();
     2706
     2707  const Use& use = Use::current ();
     2708  if (use.located ())
     2709    {
     2710      if (action_setup != get_action () &&
     2711          0 == Project::find_in_cmt_paths (use.real_path).size ())
     2712        {
     2713          if (0 == CmtSystem::getenv ("CMTPEDANTIC").size () &&
     2714              0 == CmtSystem::getenv ("PEDANTIC").size ())
     2715            CmtMessage::warning
     2716              (CmtError::get_error_name (CmtError::configuration_error)
     2717               + ": Current use outside CMTPATH: " + use.get_info ());
     2718          else
     2719            CmtError::set(CmtError::configuration_error,
     2720                          "Current use outside CMTPATH: " + use.get_info ());
     2721        }
     2722    }
     2723  else
     2724    {
     2725      CmtMessage::verbose
     2726        (CmtError::get_error_name (CmtError::configuration_error)
     2727         + ": Current use not located: " + use.get_info ());
     2728    }
    27062729
    27072730  static CmtSystem::cmt_string_vector tags;
Note: See TracChangeset for help on using the changeset viewer.