Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1980)

Issue 152104: Allow music functions to recognize strings as markup. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by Neil Puttock
Modified:
14 years, 5 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Allow music functions to recognize strings as markup. Though strings count as markup according to the type predicate `markup?', passing a string to a music function is currently only possible if the type predicate is `string?' or `scm?' This patch adds parser rules which support strings passed as markup, thus making it easier to define music functions which default to using strings unless extra formatting is required.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
A input/regression/music-function-string-markup.ly View 1 chunk +17 lines, -0 lines 0 comments Download
M lily/parser.yy View 2 chunks +6 lines, -0 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b