source file of the LilyPond music typesetter
- (c) 1997--2003 Jan Nieuwenhuizen
+ (c) 1997--2004 Jan Nieuwenhuizen
*/
#include "binary-source-file.hh"
#include "string-convert.hh"
-Binary_source_file::Binary_source_file (String& filename_string)
- : Source_file (filename_string)
+Binary_source_file::Binary_source_file (String& file_name_string)
+ : Source_file (file_name_string)
{
}
Binary_source_file::error_string (char const* pos_str0) const
{
assert (this);
- if (!in_b (pos_str0))
+ if (!contains (pos_str0))
return "";
char const* begin_str0 = pos_str0 - 8 >? to_str0 ();
int
Binary_source_file::get_line (char const* pos_str0) const
{
- if (!in_b (pos_str0))
+ if (!contains (pos_str0))
return 0;
return pos_str0 - to_str0 ();