Changeset 459 for CMT/HEAD/source/cmt_triggers.cxx
- Timestamp:
- May 30, 2008, 4:52:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_triggers.cxx
r400 r459 25 25 #include "cmt_constituent.h" 26 26 #include "cmt_syntax.h" 27 #include "cmt_log.h" 27 28 28 29 //-------------------------------------------------- … … 248 249 if (pos == 0) 249 250 { 251 CmtMessage::error ("Syntax in trigger file : empty name"); 252 /* 250 253 if (!Cmt::get_quiet ()) 251 254 { 252 255 cerr << "Syntax error in trigger file : empty name" << endl; 253 256 } 257 */ 254 258 exit (0); 255 259 } 256 260 if (pos == cmt_string::npos) 257 261 { 262 CmtMessage::error ("Syntax in trigger file : no = sign"); 263 /* 258 264 if (!Cmt::get_quiet ()) 259 265 { 260 266 cerr << "Syntax error in trigger file : no = sign" << endl; 261 267 } 268 */ 262 269 exit (0); 263 270 } … … 297 304 else 298 305 { 306 CmtMessage::error ("Syntax in trigger file : bad keyword (" + name + ")"); 307 /* 299 308 if (!Cmt::get_quiet ()) 300 309 { … … 302 311 name << ")" << endl; 303 312 } 313 */ 304 314 exit (0); 305 315 } … … 418 428 if ((pos == 0) || (pos == cmt_string::npos)) 419 429 { 430 CmtMessage::error ("Syntax in dependency file: " + line 431 + ": Missing = or target name."); 432 /* 420 433 if (!Cmt::get_quiet ()) 421 434 { … … 423 436 cerr << " Missing = or target name." << endl; 424 437 } 438 */ 425 439 exit (1); 426 440 } … … 447 461 if (dependencies == "") 448 462 { 449 cerr << "#CMT> Warning: It seems there is nothing after \'=\' " 450 "in dependency file " << m_file_name << endl; 463 CmtMessage::warning ("It seems there is nothing after \'=\' " 464 "in dependency file " + m_file_name); 465 // cerr << "#CMT> Warning: It seems there is nothing after \'=\' " 466 // "in dependency file " << m_file_name << endl; 451 467 return; 452 468 } … … 831 847 if (analyzer->run (file_name) == Awk::failed) 832 848 { 833 cerr << " File " << file_name << " not found" << endl; 849 CmtMessage::warning (" File " + file_name + " not found"); 850 // cerr << " File " << file_name << " not found" << endl; 834 851 } 835 852
Note: See TracChangeset
for help on using the changeset viewer.