]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parse-scm.cc
* ttftool/util.c (syserror): use errno for better error reporting.
[lilypond.git] / lily / parse-scm.cc
index 2f8aa221d132976e0b95abff519623dc5e32c2a4..db09db8754e5ccdb42c27203c2c08853cdd48a86 100644 (file)
 SCM
 internal_ly_parse_scm (Parse_start *ps)
 {
-  Source_file *sf = ps->start_location_.source_file_;
+  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->to_str0 ();
 
   scm_seek (port, scm_long2num (off), scm_long2num (SEEK_SET));
   SCM from = scm_ftell (port);