]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-lexer.cc
* lily/modified-font-metric.cc (text_dimension): try
[lilypond.git] / lily / lily-lexer.cc
index 191997357f72a28373f2ff05e84dbc3c5e8c130a..df238ef784c9b92179c8788e837f82bb86a7f5f4 100644 (file)
@@ -123,7 +123,7 @@ Lily_lexer::Lily_lexer (Lily_lexer const &src)
   for (SCM s = src.scopes_; scm_is_pair (s); s = scm_cdr (s))
     {
       SCM newmod = ly_make_anonymous_module (false);
-      ly_import_module (newmod, scm_car (s));
+      ly_module_copy (newmod, scm_car (s));
       *tail = scm_cons (newmod, SCM_EOL);
       tail = SCM_CDRLOC (*tail);
     }
@@ -264,7 +264,7 @@ Lily_lexer::escaped_char (char c) const
 Input
 Lily_lexer::here_input () const
 {
-  Source_file * f= get_source_file ();
+  Source_file * f = get_source_file ();
   return Input (f, (char*)here_str0 ());
 }