]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3552: Don't modify lists returned by markup list functions in interpret-markup...
authorDavid Kastrup <dak@gnu.org>
Sat, 14 Sep 2013 09:09:18 +0000 (11:09 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 18 Sep 2013 09:27:08 +0000 (11:27 +0200)
commit1dc774fbea585861dd3c958f8ae1efa95e5165fe
treeb551d5991c0ddf557b6316434d30e4056b33dd52
parent7585c6b0cac7a57bcf6187319ef12fa72b616661
Issue 3552: Don't modify lists returned by markup list functions in interpret-markup-list

This requires either
a) copying any list manually
b) interpreting markup lists right-to-left
c) more complicated and/or non-O(n) algorithms

This patch chooses b).  Modifying the lists is not really appropriate
since the lists may be created by user-written markup commands and any
problems resulting from not expecting modifications of the return
value might be quite hard to debug.
scm/markup.scm