lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2939 in lilypond: Patch: Fix relations between


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2939 in lilypond: Patch: Fix relations between \maininput, EOF and safe mode
Date: Wed, 07 Nov 2012 16:29:35 +0000

Updates:
        Status: Fixed
        Labels: -Patch-push Fixed_2_17_7

Comment #6 on issue 2939 by address@hidden: Patch: Fix relations between \maininput, EOF and safe mode
http://code.google.com/p/lilypond/issues/detail?id=2939

Pushed to staging as
commit a68e2f12c41ddbf91bbea15f345d0eb37bd87e69
Author: David Kastrup <address@hidden>
Date:   Wed Oct 31 12:33:15 2012 +0100

    Issue 2939: Fix relations between \maininput, EOF and safe mode

In lexer.ll, assumptions about the depth of include_stack_ were hardwired
    that only were valid for parsers started from the normal chain of input.

    One consequence was that something like

        #{ \book { \include "line-arrows.ly" } #}

    worked even in safe mode (where \include should be prohibited) but
    might complain about unexpected EOF.  This commit adds a member
    variable main_input_level to Lily_lexer for keeping track of when to
    drop restrictions and deliver EOF in each parser separately.





reply via email to

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