]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parse-scm.cc
Uniformize, internalize.
[lilypond.git] / lily / parse-scm.cc
index 2f55783edf46ddfdf70a6bd372b1b6ce364b9d21..6c29677348409332ece79ba4e09c55aba4c1f05e 100644 (file)
@@ -3,14 +3,13 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2004--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "parse-scm.hh"
 
 #include <cstdio>
 
-#include "ly-module.hh"
 #include "main.hh"
 #include "paper-book.hh"
 #include "source-file.hh"
@@ -25,7 +24,7 @@ internal_ly_parse_scm (Parse_start * ps)
   Source_file *sf = ps->start_location_.source_file_;
   SCM port = sf->get_port ();
 
-  int off = ps->start_location_.defined_str0_ - sf->to_str0 ();
+  int off = ps->start_location_.start_ - sf->to_str0 ();
   
   scm_seek (port, scm_long2num (off), scm_long2num (SEEK_SET));
   SCM from = scm_ftell (port);