Changeset 366
- Timestamp:
- Feb 2, 2007, 11:06:08 AM (17 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r363 r366 3 3 * source/cmt_parser.cxx: update to deal with the action return status code 4 4 and the -no_auto_imports differents cases. 5 * source/cmt_constituents.cxx: Add support for the -import=PkgA, 5 * source/cmt_constituents.cxx: Add support for the -import=PkgA,PkgB 6 6 * source/cmt_error.*: update to deal with the action return status code 7 7 * source/cmt.cxx: return status code … … 22 22 23 23 * cmt_tag.cxx: Correct the fact that "apply_tag" protected by a private section is exported in all the clients packages. 24 25 2006-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) 24 40 25 41 2006-18-10 Vincent Garonne <garonne@lal.in2p3.fr> 317 -
CMT/HEAD/source/cmt_parser.cxx
r363 r366 7090 7090 { 7091 7091 /// First, finish the parsing of constituent parameters. 7092 if (Cmt::get_debug ()) 7093 { 7094 cout << "fill_for_all_constituents>" << endl; 7095 } 7092 7096 Constituent::parse_all (); 7093 7097 … … 7142 7146 7143 7147 if (constituent.type == Document) 7144 { 7145 continue; 7146 } 7148 { 7149 continue; 7150 } 7151 7147 7152 if (constituent.imports.size () == 0) 7148 7153 { … … 7183 7188 } 7184 7189 7190 // From here on, the constituent HAS import options. 7191 7185 7192 /** 7186 7193 * Create a private copy of the state vector. This private copy … … 7210 7217 cout << constituent.name << " needs imports " << import << " " 7211 7218 << 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; 7213 7224 } 7214 7225 … … 7216 7227 if (p->is_cmt ()) continue; 7217 7228 7218 7219 7220 7229 if (u->auto_imports != Off) continue; 7230 7231 Use::set_auto_imports_state (use_index, auto_imports_states); 7221 7232 } 7222 7233 } … … 7234 7245 for (i = 0; i < base_auto_imports_states.size (); i++) 7235 7246 { 7247 if (base_auto_imports_states[i]== On && auto_imports_states[i] == Off) continue; 7236 7248 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); 7259 7263 } 7260 7264
Note: See TracChangeset
for help on using the changeset viewer.