Changeset 366


Ignore:
Timestamp:
Feb 2, 2007, 11:06:08 AM (17 years ago)
Author:
arnault
Message:

Cosmetic: debug messages

Location:
CMT/HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r363 r366  
    33        * source/cmt_parser.cxx:  update to deal with the action return status code
    44         and the -no_auto_imports differents cases.
    5         * source/cmt_constituents.cxx: Add support for the -import=PkgA, PkgB
     5        * source/cmt_constituents.cxx: Add support for the -import=PkgA,PkgB
    66        * source/cmt_error.*: update to deal with the action return status code
    77        * source/cmt.cxx: return status code   
     
    2222
    2323    *  cmt_tag.cxx: Correct the fact that "apply_tag" protected by a private section is exported in all the clients packages.
     24
     252006-10-24    <arnault@lal.in2p3.fr> 317
     26
     27        * source\cmt_cmtpath_pattern.cxx (apply): Implement the two
     28        different traversal modes for the project graph
     29
     30        * source\cmt_cmtpath_pattern.h (class CmtPathPattern): Add extra
     31        arguments to action and add AND a new attribute to hold the
     32        possible revert mode in the project traversal
     33
     34        * source\cmt_syntax.cxx (class KwdCmtPathPatternRevert): Implement
     35        the parsing of the new keyword simply by adding an extra optional
     36        arg to the CmtPathPattern::action
     37        (SyntaxParser): Add a new keyword cmtpath_pattern_revert to handle
     38        project traversal in reverse order (wrt the current order of
     39        cmtpath_pattern)
    2440
    25412006-18-10 Vincent Garonne <garonne@lal.in2p3.fr> 317
  • CMT/HEAD/source/cmt_parser.cxx

    r363 r366  
    70907090  {
    70917091    /// First, finish the parsing of constituent parameters.
     7092    if (Cmt::get_debug ())
     7093      {
     7094        cout << "fill_for_all_constituents>" << endl;
     7095      }
    70927096    Constituent::parse_all ();
    70937097
     
    71427146
    71437147        if (constituent.type == Document)
    7144         {
    7145                  continue;
    7146         }   
     7148          {
     7149            continue;
     7150          }
     7151
    71477152        if (constituent.imports.size () == 0)
    71487153          {
     
    71837188          }
    71847189
     7190        // From here on, the constituent HAS import options.
     7191
    71857192        /**
    71867193         * Create a private copy of the state vector. This private copy
     
    72107217                    cout << constituent.name  << " needs imports " << import << " "
    72117218                         << use_index << " "
    7212                          << u->get_package()->get_name() << endl;
     7219                         << u->get_package()->get_name() << " "
     7220                         << " u->auto_imports=" << u->auto_imports
     7221                         << " Off=" << Off
     7222                         << " On=" << On
     7223                         << endl;
    72137224                  }
    72147225
     
    72167227                if (p->is_cmt ()) continue;
    72177228
    7218         if (u->auto_imports != Off) continue;
    7219 
    7220         Use::set_auto_imports_state (use_index, auto_imports_states);
     7229                if (u->auto_imports != Off) continue;
     7230
     7231                Use::set_auto_imports_state (use_index, auto_imports_states);
    72217232              }
    72227233          }
     
    72347245        for (i = 0; i < base_auto_imports_states.size (); i++)
    72357246          {
     7247            if (base_auto_imports_states[i]== On && auto_imports_states[i] == Off) continue;
    72367248           
    7237             if (base_auto_imports_states[i]== On && auto_imports_states[i] == Off)
    7238                continue;
    7239            
    7240             //if (auto_imports_states[i] != base_auto_imports_states[i])
    7241             //  {
    7242                 Use* u = Uses[i];
    7243 
    7244                 if (u->discarded) continue;
    7245                 if (u->m_hidden)  continue;
    7246 
    7247                         Package* p = u->get_package ();
    7248                         if (p->is_cmt ()) continue;
    7249 
    7250                 if (Cmt::get_debug ())
    7251                   {
    7252                     cout << constituent.name  << " has import " << p->get_name () << endl;
    7253                   }
    7254 
    7255                 //if (u->auto_imports != Off) continue;
    7256 
    7257                 imports.push_back (u);
    7258              // }
     7249            Use* u = Uses[i];
     7250
     7251            if (u->discarded) continue;
     7252            if (u->m_hidden)  continue;
     7253           
     7254            Package* p = u->get_package ();
     7255            if (p->is_cmt ()) continue;
     7256           
     7257            if (Cmt::get_debug ())
     7258              {
     7259                cout << constituent.name  << " has import " << p->get_name () << endl;
     7260              }
     7261           
     7262            imports.push_back (u);
    72597263          }
    72607264       
Note: See TracChangeset for help on using the changeset viewer.