]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/binary-source-file.cc
* lily/ambitus-engraver.cc (create_ambitus): change name to
[lilypond.git] / lily / binary-source-file.cc
index ab1c08488da3974c2cec8c75f4ae2a86f637132f..1eceb65b8a785eb9125f988948964f2e32f84f4b 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the LilyPond music typesetter
 
-  (c)  1997--2000 Jan Nieuwenhuizen
+  (c) 1997--2004 Jan Nieuwenhuizen
 */
 
 
@@ -29,7 +29,7 @@ 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 ();
@@ -54,7 +54,7 @@ Binary_source_file::error_string (char const* pos_str0) const
 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 ();