lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 3401 in lilypond: Parser error with void funct


From: lilypond
Subject: Re: [Lilypond-auto] Issue 3401 in lilypond: Parser error with void function in music list
Date: Wed, 12 Jun 2013 07:59:41 +0000

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

Comment #6 on issue 3401 by address@hidden: Parser error with void function in music list
http://code.google.com/p/lilypond/issues/detail?id=3401

Pushed to staging as
commit 965be3f44335981497d2fdc63226b990d56804bb
Author: David Kastrup <address@hidden>
Date:   Thu Jun 6 15:36:48 2013 +0200

    Issue 3401: Parser error with void function in music list

    Problem code fixed:

    test =
       (symbol-list?))

    {
      \test Symbol
    }

    This patch is sort of a so-so fix for the problem: for one thing,
    embedded_scm_closed should not have been able to end in a symbol list
    in the first place since parsing those requires lookahead for '.'.
    The grammar has now been changed to use embedded_scm, and just backs
    up in the case a scheme function/identifier returns a markup in lyrics
    mode (which can then be assembled with duration and post-events into a
    more complex music expression).  If parsing the source for the markup
    required lookahead, the same error will be thrown.

    But that use case of Scheme functions in Lyrics mode for generating
    markups to be turned into lyric events is a lot more exotic than the
    one triggering this issue.  The current fix at least results in
    predictable behavior outside of using Lyrics mode, and in particular
    for uses of define-void-function.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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