- String msg = _f ("can't find file: `%s\'", s);
- msg += _f ("\nSearch path is `%s'\n", global_sources->path_C_->str ().ch_C());
- LexerError (msg.ch_C ());
-
+ string msg = _f ("cannot find file: `%s'", name);
+ msg += "\n";
+ msg += _f ("(search path: `%s')",
+ sources->path_->to_string ().c_str ());
+ LexerError (msg.c_str ());