]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/lily.scm
Introduce a maximum depth for markup evaluation
[lilypond.git] / scm / lily.scm
index ac735bc4893322d1318ba88fbeb403e3471fc029..f3ce9c33c0cb10215eafe252637df72ff719f566 100644 (file)
@@ -120,6 +120,9 @@ jobs.")
     (log-file #f
 "If string FOO is given as argument, redirect
 output to log file `FOO.log'.")
+    (max-markup-depth 1024
+"Maximum depth for the markup tree. If a markup has more levels, assume that
+it will not terminate at all and print out a warning, but continue processing.")
     (midi-extension ,(if (eq? PLATFORM 'windows)
                          "mid"
                          "midi")