On Friday 26 November 2004 11.54, Han-Wen Nienhuys wrote:
> [EMAIL PROTECTED] 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


_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to