lilypond-devel
[Top][All Lists]
Advanced

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

Re: brace mismatch in init.ly


From: Erik Sandberg
Subject: Re: brace mismatch in init.ly
Date: Fri, 26 Nov 2004 12:30:54 +0100
User-agent: KMail/1.6.2

On Friday 26 November 2004 11.54, Han-Wen Nienhuys wrote:
> address@hidden writes:
> > Your last comment is very true.. perhaps each true end-of-file could
> > produce an EOF token? Then the error would be caught at the end of the
> > input file instead. Also, some errors related to manual \include commands
> > would be caught.
>
> No, we cannot do this. We'd have to add EOF to every rule; consider
>
>   \layout {
>     \include "engravers.ly"
>   }
>
> engravers.ly will produce EOF before the } of \layout.

Ah.. I didn't think this was allowed (or at least not recommended). Using 
\include at anything else than top level is a kind of substitute for macros, 
and macros is something we don't want..

Erik




reply via email to

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