comparison src/pt-check.cc @ 3523:b80bbb43a1a9

[project @ 2000-02-02 10:25:52 by jwe]
author jwe
date Wed, 02 Feb 2000 10:26:25 +0000
parents 5708b8bb4f06
children 61d4427c016e
comparison
equal deleted inserted replaced
3522:bd422cf62f0c 3523:b80bbb43a1a9
620 if (list) 620 if (list)
621 list->accept (*this); 621 list->accept (*this);
622 } 622 }
623 623
624 void 624 void
625 tree_checker::gripe (const string& msg, int line) 625 tree_checker::gripe (const std::string& msg, int line)
626 { 626 {
627 if (curr_fcn_file_name.empty ()) 627 if (curr_fcn_file_name.empty ())
628 error ("%s", msg.c_str ()); 628 error ("%s", msg.c_str ());
629 else 629 else
630 error ("%s: %d: %s", curr_fcn_file_name.c_str (), line, msg.c_str ()); 630 error ("%s: %d: %s", curr_fcn_file_name.c_str (), line, msg.c_str ());