X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fparse-scm.cc;h=7cb8b34c099dce21694ecc2b9b444e51066f4271;hb=4ecdbd7d70ca7441be4dddd15ac01cc255bc2a35;hp=2f8aa221d132976e0b95abff519623dc5e32c2a4;hpb=a999ec6e8af5951c122366fc5a80d66cec2ff6f0;p=lilypond.git diff --git a/lily/parse-scm.cc b/lily/parse-scm.cc index 2f8aa221d1..7cb8b34c09 100644 --- a/lily/parse-scm.cc +++ b/lily/parse-scm.cc @@ -9,6 +9,7 @@ #include "parse-scm.hh" #include +using namespace std; #include "main.hh" #include "paper-book.hh" @@ -21,10 +22,10 @@ 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);