Public Member Functions | |
void | action (const CmtSystem::cmt_string_vector &words, Use *use, const cmt_string &file_name, int line_number) |
|
Implements Kwd. Definition at line 480 of file cmt_syntax.cxx. References CmtSystem::cmt_string_vector.
00484 { 00485 /* 00486 if (words.size () > 1) 00487 { 00488 if (use == &(Use::current())) 00489 { 00490 m_current_package = words[1]; 00491 build_prefix (m_current_package, m_current_prefix); 00492 00493 if ((use->get_package_name () != "") && 00494 (use->get_package_name () != m_current_package)) 00495 { 00496 if (!m_quiet) 00497 { 00498 // cerr << "#CMT> package name mismatch in requirements of " << 00499 // use->get_package_name () << " " << 00500 // use->version << " line #" << line_number; 00501 // cerr << " : " << m_current_package << " versus " << 00502 // use->get_package_name () << endl; 00503 } 00504 } 00505 00506 use->set (m_current_package, 00507 m_current_version, 00508 m_current_path, 00509 "", 00510 ""); 00511 00512 use->change_path (m_current_path); 00513 use->style = m_current_style; 00514 } 00515 } 00516 */ 00517 } |