[Top][All Lists]
[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: |
Sat, 28 Jul 2012 08:01:50 +0000 |
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#newcode993
lily/parser.yy:993: /* Copy the new header fields, i.e. overwrite
existing, but preserve unchanged ones */
The problem with this approach is that bookparts are initialized from
$defaultheader. That means if you have something like
\header { title = "global" }
\book { title = "book" \bookpart { piece = "whatever" ...
Then the \bookpart will have an effective title of "global".
http://codereview.appspot.com/6441058/