lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1650: Multiple header blocks shall be merged rather than repla


From: dak
Subject: Re: Issue 1650: Multiple header blocks shall be merged rather than replace a previous one (issue 6441058)
Date: Fri, 27 Jul 2012 05:10:50 +0000

On 2012/07/27 05:09:22, dak wrote:
http://codereview.appspot.com/6441058/diff/1/lily/parser.yy
File lily/parser.yy (right):

http://codereview.appspot.com/6441058/diff/1/lily/parser.yy#newcode932
lily/parser.yy:932: /* Copy the new header fields, i.e. overwrite
existing, but
preserve unchanged ones */
I think this is the wrong way to do things since you can't refer to
old header
values when defining the new one.  Instead, you should start with the
definition
you are adding things to, like LAYOUT and similar do.  So that likely
means that
you need to change the definition of lilypond_header (or create
several versions
of it) to make it not start from an empty slate.

Actually, it looks like it just doing that: taking the old value and
adding to it.  So what it the problem you are trying to cure here?

http://codereview.appspot.com/6441058/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]