[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: feature-request / doc-actualization (right-margin)
From: |
Joe Neeman |
Subject: |
Re: [PATCH] Re: feature-request / doc-actualization (right-margin) |
Date: |
Sun, 16 Aug 2009 11:56:42 +1000 |
On Fri, 2009-08-14 at 19:00 +0200, Michael Käppler wrote:
> Hmm...there's a new problem I don't understand.
> If I set a breakpoint in lily-parser.cc:225 (get_paper) and call
> normalize() from there, it seems that all "default" variables which are
> set in paper-defaults-init.ly aren't accessible.
> What's the reason for this? Are the *.ly-initfiles parsed later?
get_paper is called more than once for each paper block. The first time
is probably from parser.yy:847, which actually _creates_ the first paper
block (so no variables have been parsed at all). Perhaps a better place
for normalize() would be after parser.yy:830, where it will only be
called once for each paper block.
Disclaimer: I don't think I've ever actually touched the parser and I
don't really know much about that whole part of lilypond.
HTH,
Joe
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), (continued)
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Neil Puttock, 2009/08/11
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Michael Käppler, 2009/08/11
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Michael Käppler, 2009/08/12
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Neil Puttock, 2009/08/13
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Joe Neeman, 2009/08/13
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Michael Käppler, 2009/08/14
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Michael Käppler, 2009/08/14
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin),
Joe Neeman <=
- Message not available
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Michael Käppler, 2009/08/16
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Joe Neeman, 2009/08/16
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Michael Käppler, 2009/08/17
- Re: [PATCH] Re: feature-request / doc-actualization (right-margin), Joe Neeman, 2009/08/24