Status: Started
Owner: [email protected]
Labels: Type-Enhancement Patch-new

New issue 3270 by [email protected]: Patch: Fix composition of markup lists containing markup command list calls
http://code.google.com/p/lilypond/issues/detail?id=3270

Fix composition of markup lists containing markup command list calls

Composed markup lists in the parser apply normal markup commands to
markup lists, like
\with-color #red { a b c }

If those markup lists contained calls to markup list commands (like
\column-lines), the resulting behavior was undefined, at worst
producing segfaults (cf issue 2393).  This patch series cleans up the
inconsistencies.  It contains the following commits:


Allow unbraced forms of composed markup lists

Since composing markup lists may now work at run time, there is no
particular need for the associated syntactic restrictions.

Allow markup lists to be composed at run-time

Using a markup command on a markup list generated by a markup list
command was not previously possible.  Now things like

  \with-color #red \column-lines { x y z }

work as well.

Move map-markup-command-list into parser internals


Simplify interpret-markup-list


Use fold in map-markup-command-list


Text_interface::is_markup should reject markup-list-command calls

http://codereview.appspot.com/7799048

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to