+2004-06-24 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/my-lily-parser.cc (parse_string): switch module too.
+
2004-06-24 Jan Nieuwenhuizen <janneke@gnu.org>
* Documentation/topdocs/INSTALL.texi (Top): Add guile, python and
lexer_ = (parent == 0 ? new My_lily_lexer (sources_)
: new My_lily_lexer (*parent));
+
+ SCM oldmod = scm_current_module ();
+ scm_set_current_module (ly_car (lexer_->scopes_));
+
// TODO: use $parser
lexer_->set_identifier (ly_symbol2scm ("parser"),
self_scm ());
parent->main_input_b_ = lexer_->main_input_b_;
}
+ scm_set_current_module (oldmod);
delete lexer_;
lexer_ = 0;
}