bug-lilypond
[Top][All Lists]
Advanced

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

Re: bad line numbers in error messages


From: Mats Bengtsson
Subject: Re: bad line numbers in error messages
Date: Sun, 06 Oct 2002 22:44:24 +0200

This bug has already been corrected by Han-Wen in the latest
1.7.x version, I'm sure he'll include it in the next 1.6.x 
version as well, even though it's not in the CVS yet.

  /Mats


> Dear lily developpers,
> 
> I believe I have a bug in the way lily 1.6.4 prints line numbers in its
> error messages. I think its related to the use of \include.
> 
> Let's say I have a file like the following. If an error occur in
> __input__, line numbers are wrong: I have to add 2 in order to get the
> right line number.
> 
> \midi { \tempo 4 = 120 }
> 
> \include "__input__"
> \include "chord-name.ly"
> 
> \score {
>   \notes \transpose c' \Score
>   \paper {
>     \translator {
>       \ScoreContext \remove "Bar_number_engraver"
>     }
>     \translator { 
>       \ChordNamesContext ChordName \override #'style = #'jazz
>     }
>   }
>   \midi {  }
> }
> 
> 
> -- 
> Laurent Martelli                        http://jac.aopsys.com/
> address@hidden                    http://www.bearteam.org/~laurent/
> 
> 
> 
> _______________________________________________
> Bug-lilypond mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-lilypond





reply via email to

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