bug-lilypond
[Top][All Lists]
Advanced

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

Re: Error in lily-library.scm with 2.15.14


From: David Kastrup
Subject: Re: Error in lily-library.scm with 2.15.14
Date: Fri, 21 Oct 2011 12:27:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

David Kastrup <address@hidden> writes:

> Nick Payne <address@hidden> writes:
>
>> This creates the error:
>>
>> \version "2.15.14"
>>
>> \paper {
>>     first-page-number = -1
>> }
>>
>> \relative c {
>>     c1
>> }
>>
>> Setting first page number to -1 seems to be the problem. In the actual
>> score, I set this, in conjunction with custom headers and footers, to
>> start page numbering with 1 on the third page - first page is the
>> frontispiece, second page is blank.
>
> Setting first-page-number to --1 triggers the same error, this time
> complaining about 1.0 instead of 1.  So this is clearly a problem in the
> frontend that converts to float when negating without good reason.  I'll
> take a look and likely commit a fix today.

This is the culprit:

da949cdc lily/lexer.ll (Keith OHara        2011-08-10 00:57:44 -0700 651)
-{UNSIGNED}     | // backup rule

commit da949cdcede0ffb559e9e5e2adbae2088ba1f6d6
Author: Keith OHara <address@hidden>
Date:   Wed Aug 10 00:57:44 2011 -0700

    lexer.ll: remove unused patterns, avoid backing up


It turns all literal negative integers into floating point numbers.
I'll investigate how to do a proper fix.

-- 
David Kastrup




reply via email to

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