]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/program-option.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / program-option.cc
index 4ec7b2d3e411179a008124d848285c992d7d20a1..215bcfe0b9cee0abdde5c2e1e9df83090be36685 100644 (file)
@@ -32,6 +32,8 @@ bool profile_property_accesses = false;
   crash if internally the wrong type is used for a grob property.
 */
 bool do_internal_type_checking_global;
+bool strict_infinity_checking = false; 
+
 
 static SCM option_hash;
 
@@ -78,6 +80,11 @@ void internal_set_option (SCM var, SCM val)
       use_object_keys = to_boolean (val);
       val = scm_from_bool (to_boolean (val));
     }
+  else if (var == ly_symbol2scm ("strict-infinity-checking"))
+    {
+      strict_infinity_checking = to_boolean (val);
+      val = scm_from_bool (to_boolean (val));
+    }
 }
 
 ssize const HELP_INDENT = 30;