have you thought of fixing this generically instead? You could the hare/tortoise algorithm to detect cycles in any markup, and could run that on the entry point (not the recursive function) for evaluating markups to stencils.
http://codereview.appspot.com/4951073/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel