[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature: multiple header definitions
From: |
Ishizaki |
Subject: |
Re: Feature: multiple header definitions |
Date: |
Sat, 16 Jul 2005 10:41:29 +0900 |
On Thu, 14 Jul 2005 22:14:39 -0700
Graham Percival <address@hidden> wrote:
>
> Can you see how to keep the settings? Lilypond keeps the \paper{} and
> \layout{} settings, and presumably those commands would be present
> in parser.yy
>
Sorry, I do not know well about Scheme and C++, so I'm not able to change codes.
But, in parser.yy , codes regarding layout block is like this ;
| LAYOUT {
Output_def *p = get_layout (THIS);
THIS->lexer_->add_scope (p->scope_);
So, I imagine that it should be written something like this ;
| book_body lilypond_header {
$$->add_header( $2 );
/* $$->header_ = $2; ( this is corrent code ) */
and, add codes add_header to book.cc and score.cc ( and more ? ).
Please correct me if I am wrong.
Regards,
------------------------------------------------------------------------
| Yoshinobu Ishizaki |
------------------------------------------------------------------------
- Feature: multiple header definitions, Graham Percival, 2005/07/13
- Re: Feature: multiple header definitions, Paul Scott, 2005/07/13
- Re: Feature: multiple header definitions, Ishizaki, 2005/07/14
- Re: Feature: multiple header definitions, Graham Percival, 2005/07/15
- Re: Feature: multiple header definitions,
Ishizaki <=
- Re: Feature: multiple header definitions, Ishizaki, 2005/07/17
- Re: Feature: multiple header definitions, Ishizaki, 2005/07/17
- Re: Feature: multiple header definitions, Graham Percival, 2005/07/19
- Re: Feature: multiple header definitions, Han-Wen Nienhuys, 2005/07/19
- Re: Feature: multiple header definitions, Ishizaki, 2005/07/20
- Re: Feature: multiple header definitions, Han-Wen Nienhuys, 2005/07/20
- Re: Feature: multiple header definitions, Ishizaki, 2005/07/23
- Re: Feature: multiple header definitions, Graham Percival, 2005/07/27