Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

KwdDefault Class Reference

Inheritance diagram for KwdDefault:

Inheritance graph
[legend]
Collaboration diagram for KwdDefault:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void action (const CmtSystem::cmt_string_vector &words, Use *use, const cmt_string &file_name, int line_number)

Member Function Documentation

void KwdDefault::action const CmtSystem::cmt_string_vector words,
Use use,
const cmt_string file_name,
int  line_number
[inline, virtual]
 

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   }


The documentation for this class was generated from the following file:
Generated on Mon May 2 10:25:42 2005 for CMT by doxygen 1.3.5