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 887 of file cmt_syntax.cxx. References CmtSystem::cmt_string_vector, Use::get_package_name(), Cmt::get_quiet(), CmtError::set(), and Use::version.
00891 { 00892 /* 00893 Unknown keyword : just ignore the line 00894 */ 00895 if (!Cmt::get_quiet ()) 00896 { 00897 cerr << "#CMT> bad syntax in requirements of " << use->get_package_name () 00898 << " " << use->version << " line #" << line_number; 00899 cerr << " [" << words[0] << "...]" << endl; 00900 } 00901 00902 CmtError::set (CmtError::syntax_error, "ParseRequirements> "); 00903 } |