source file of the LilyPond music typesetter
- (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "proto.hh"
#include "input.hh"
defined_ch_C_ = 0;
}
-Input::Input (Input const &s)
+Input
+Input::spot () const
{
- source_file_l_ = s.source_file_l_;
- defined_ch_C_ = s.defined_ch_C_;
+ return *this;
}
void
void
Input::non_fatal_error (String s) const
{
- message (_ ("Non fatal error: ")+ s);
+ message (_ ("Non fatal error: ") + s);
}
String
Input::location_str () const
if (source_file_l_)
return source_file_l_->file_line_column_str (defined_ch_C_);
else
- return _("(location unknown)");
+ return "(" + _ ("position unknown") + ")";
}
+