|
From: | Gilles THIBAULT |
Subject: | Re: Using one identifier or another |
Date: | Fri, 22 Aug 2008 18:11:00 +0200 |
aNotes = \relative c' { c1 e g } #(define dummy #f) #(if (not (defined? 'bNotes)) (define bNotes aNotes)) \score { \bNotes } When the 'define dummy' is removed, it doesn't work anymore.
The doc say it is due to "parser lookahead" : http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Input-variables-and-Scheme#Input-variables-and-SchemeSorry i don't really understand this parser behaviour but i only know i have to care with it ...
Gilles
[Prev in Thread] | Current Thread | [Next in Thread] |