Re: Include file from music function 2.15.18
David Kastrup d...@gnu.org writes: Jay Anderson horndud...@gmail.com writes: On Sun, Nov 13, 2011 at 11:07 PM, David Kastrup d...@gnu.org wrote: \include is special-cased in the lexer in order to accept \stringidentifier. Previously $xxx in #{ ... #} was translated into \something artificially. This translation is no longer happening. But \include does not know what to do with $ yet. Expect a fix in the next days. Thanks for the report, and sorry for the oversight. Great. Thanks for the explanation. -Jay Issue report URL:http://code.google.com/p/lilypond/issues/detail?id=2039 In case you are compiling Lilypond yourself, the issue report has a code review attached containing a patch fixing the problem. I'll likely expedit its handling since this is a regression fix, but it still will have to pass the usual testing stages. Since this issue was not independent from other patches in the queue, its patch had to be upgraded and is waiting for other stuff to move into master before it can undergo testing again. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Include file from music function 2.15.18
Jay Anderson horndud...@gmail.com writes: On Sun, Nov 13, 2011 at 11:07 PM, David Kastrup d...@gnu.org wrote: \include is special-cased in the lexer in order to accept \stringidentifier. Previously $xxx in #{ ... #} was translated into \something artificially. This translation is no longer happening. But \include does not know what to do with $ yet. Expect a fix in the next days. Thanks for the report, and sorry for the oversight. Great. Thanks for the explanation. -Jay Issue report URL:http://code.google.com/p/lilypond/issues/detail?id=2039 In case you are compiling Lilypond yourself, the issue report has a code review attached containing a patch fixing the problem. I'll likely expedit its handling since this is a regression fix, but it still will have to pass the usual testing stages. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Include file from music function 2.15.18
Jay Anderson horndud...@gmail.com writes: In working on a large set of hymns pre-2.15.18 I could do something like this (a simplified example): === \version 2.15.18 function = #(define-music-function (parser location num) (number?) (let ((file (string-append hymn (number-string num) .ily))) #{ \include $file #})) \score { \new Staff \relative c' { \function #0 } } === Error in 2.15.18: === GNU LilyPond 2.15.18 Processing `2.15.18.ly' Parsing... string:1:10: error: invalid character: `$' \include $file string:1:10: error: syntax error, unexpected $undefined \include is special-cased in the lexer in order to accept \stringidentifier. Previously $xxx in #{ ... #} was translated into \something artificially. This translation is no longer happening. But \include does not know what to do with $ yet. Expect a fix in the next days. Thanks for the report, and sorry for the oversight. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Include file from music function 2.15.18
On Sun, Nov 13, 2011 at 11:07 PM, David Kastrup d...@gnu.org wrote: \include is special-cased in the lexer in order to accept \stringidentifier. Previously $xxx in #{ ... #} was translated into \something artificially. This translation is no longer happening. But \include does not know what to do with $ yet. Expect a fix in the next days. Thanks for the report, and sorry for the oversight. Great. Thanks for the explanation. -Jay ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user