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

Issue 13668047: Don't modify lists returned by markup list functions in interpret-markup-list (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by dak
Modified:
10 years, 6 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : Don't count your parens until they are matched #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -10 lines) Patch
M scm/markup.scm View 1 1 chunk +7 lines, -10 lines 0 comments Download

Messages

Total messages: 1
dak
10 years, 7 months ago (2013-09-14 09:21:27 UTC) #1
Don't count your parens until they are matched
Sign in to reply to this message.

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