Re: Parser error when including file

2008-11-22 Thread Johan Vromans
Arjan Bos <[EMAIL PROTECTED]> writes: > It certainly seems weird and I can understand why it is. And I know it > is very hard to write good parsing error messages, but if I now jump > to the error, it jumps away from my typo into a perfectly correct > file. And I can't help but wondering that it m

Re: Parser error when including file

2008-11-22 Thread Arjan Bos
On 22 nov 2008, at 00:28, Johan Vromans wrote: Yes it may seem weird, but it is logical. It certainly seems weird and I can understand why it is. And I know it is very hard to write good parsing error messages, but if I now jump to the error, it jumps away from my typo into a perfectly co

Re: Fwd: Parser error when including file

2008-11-21 Thread Johan Vromans
Arjan Bos <[EMAIL PROTECTED]> 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 processe

Fwd: Parser error when including file

2008-11-21 Thread Arjan Bos
From: Arjan Bos <[EMAIL PROTECTED]> Date: 21 november 2008 23:03:02 GMT+01:00 To: Jan van Dijk <[EMAIL PROTECTED]> Subject: Re: Parser error when including file Yes you are right, and I perfectly understand the error. However, the error is signalled in the other file! And sadly, t

Re: Parser error when including file

2008-11-21 Thread Jan van Dijk
Dear Arjan, Your file includedError starts with the declaration of a variable: y Hereafter lilypond expects an = For example: y = "test" I think the y is a typo. When you remove this letter, your problem should be solved. Kind regards, Jan van Dijk. Op Friday 21 November 2008 22:39:16 schreef A

Parser error when including file

2008-11-21 Thread Arjan Bos
Dear list, I have the following two files: includeError.ly: \version "2.11.63" #(define RH rightHandFinger) and includedError.ly: y\version "2.11.63" \include "includedError.ly" And if I compile the second file, the parser tells me that the first file is missing an '='. includedError.ly:2:0