Main Page ? Class Hierarchy ? Compound List ? File List ? Compound 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 Methods

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 940 of file cmt_syntax.cxx.

References Use::get_package_name(), Cmt::get_quiet(), CmtError::set(), CmtError::syntax_error, and Use::version.

00944   {
00945     /*
00946       Unknown keyword : just ignore the line
00947     */
00948     if (!Cmt::get_quiet ())
00949       {
00950         cerr << "#CMT> bad syntax in requirements of " << use->get_package_name ()
00951              << " " << use->version << " line #" << line_number;
00952         cerr << " [" << words[0] << "...]" << endl;
00953       }
00954     
00955     CmtError::set (CmtError::syntax_error, "ParseRequirements> ");
00956   }

The documentation for this class was generated from the following file:
Generated on Wed Sep 1 11:00:28 2004 for CMT by 1.2.18