]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parse-scm.cc
Issue 4442/7: Stop maintaining "parser" variable
[lilypond.git] / lily / parse-scm.cc
index 7e8c26b06fe829358deccd272dddc2c905184a83..c83866849fd164c9597b6b29d80347ff69b1bcae 100644 (file)
@@ -98,11 +98,6 @@ internal_ly_eval_scm (Parse_start *ps)
           module = scm_gc_protect_object (scm_call_0 (function));
         }
 
-      // We define the parser so trusted Scheme functions can
-      // access the real namespace underlying the parser.
-      if (ps->parser_)
-        scm_module_define (module, ly_symbol2scm ("parser"),
-                           ps->parser_->self_scm ());
       return scm_eval (ps->form_, module);
     }
   return scm_primitive_eval (ps->form_);