lilypond-user
[Top][All Lists]
Advanced

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

Re: Fwd: Parser error when including file


From: Johan Vromans
Subject: Re: Fwd: Parser error when including file
Date: 22 Nov 2008 00:28:07 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Arjan Bos <address@hidden> writes:

> However, the error is signalled in the other file! 

Not really.

LP processes the includeError.ly. It sees 'y', and starts looking for
and '='. I assume it processes the \version internally, and then
starts including the includedError.ly. Again, it processes the
\version internally. Only when encountering the #(...) code it yields
the error -- at that time it *IS* processing includedError.ly.

If you insert something in includeError.ly before the \include you'll
get the error in the right file.

Yes it may seem weird, but it is logical.

-- Johan




reply via email to

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