]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/program-option.cc
Fix pure-estimation during two-pass spacing.
[lilypond.git] / lily / program-option.cc
index 04f8292a744eda151e19d2cabfa2bed6682d76ae..02213e4c71a68d1cfdddc2276e7e1b35580f36bd 100644 (file)
@@ -21,6 +21,7 @@ using namespace std;
 /* Write midi as formatted ascii stream? */
 bool do_midi_debugging_global;
 bool use_object_keys;
+bool debug_skylines;
 
 /*
   Backwards compatibility.
@@ -89,6 +90,11 @@ void internal_set_option (SCM var, SCM val)
       strict_infinity_checking = to_boolean (val);
       val = scm_from_bool (to_boolean (val));
     }
+  else if (var == ly_symbol2scm ("debug-skylines"))
+    {
+      debug_skylines = to_boolean (val);
+      val = scm_from_bool (to_boolean (val));
+    }
 }
 
 ssize const HELP_INDENT = 30;
@@ -211,9 +217,6 @@ LY_DEFINE (ly_command_line_verbose_p, "ly:command-line-verbose?", 0, 0, 0, (),
 
 
 
-
-
-
 LY_DEFINE (ly_get_option, "ly:get-option", 1, 0, 0, (SCM var),
           "Get a global option setting.")
 {
@@ -223,15 +226,6 @@ LY_DEFINE (ly_get_option, "ly:get-option", 1, 0, 0, (SCM var),
 }
 
 
-bool
-get_program_option (const char *s)
-{
-  SCM sym = ly_symbol2scm (s);
-
-  return to_boolean (ly_get_option (sym));
-}
-
-
 bool
 get_program_option (const char *s)
 {