2 #(ly:set-option 'warning-as-error #f)
5 texidoc = "Markups have a maximum depth to prevent non-termination."
9 % A simple markup function that calls itself and increases its argument, so
10 % it will grow forever, unless we terminate it.
11 #(define-markup-command (recursive-explosion layout props nr)
13 (interpret-markup layout props (make-recursive-explosion-markup (+ nr 1))))
15 \markup { Test: \recursive-explosion #1 }