[Top][All Lists]
[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 11:49:18 +0100 |
User-agent: |
KMail/1.6.2 |
[moving to lilypond-devel]
On Friday 26 November 2004 01.58, Han-Wen Nienhuys wrote:
> address@hidden writes:
> > and then add
> > \maininput
> > \EOF
> > to init.ly? When the input file is incomplete, this would _always_ give
> > an error like "unexpected EOF", I think. Which might be more intuitive.
> > (may I try to write a patch?)
>
> I think we should just remove the "unmatched braces" warning, since
> errors will always be caught somewhere else as well. I'm reluctant
> about the EOF idea. I think that we should avoid that context errors
> point at lily's init files.
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.
Erik
- Re: brace mismatch in init.ly,
Erik Sandberg <=