]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parse-scm.cc
* mf/feta-bolletjes.mf (solfa_quarter_width): use
[lilypond.git] / lily / parse-scm.cc
index db09db8754e5ccdb42c27203c2c08853cdd48a86..75f161540dfd0e705520c4fabf3f80b82d7c7b26 100644 (file)
@@ -3,13 +3,15 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "parse-scm.hh"
 
 #include <cstdio>
+using namespace std;
 
+#include "international.hh"
 #include "main.hh"
 #include "paper-book.hh"
 #include "source-file.hh"
@@ -24,7 +26,7 @@ internal_ly_parse_scm (Parse_start *ps)
   Source_file *sf = ps->start_location_.get_source_file ();
   SCM port = sf->get_port ();
 
-  int off = ps->start_location_.start () - sf->to_str0 ();
+  int off = ps->start_location_.start () - sf->c_str ();
 
   scm_seek (port, scm_long2num (off), scm_long2num (SEEK_SET));
   SCM from = scm_ftell (port);