|
Re: parser variables persist beyond { } scope: msg#00975lilypond-devel-gnu
2009/7/31 Patrick McCarty <pnorcks@xxxxxxxxx>: > I *think* that's true. Hmm, what about primitive procedures? I wouldn't class these as identifiers, but they'll also return #t: #(display (defined? 'car)) => #t Since ly:parser-lookup returns EOL if it can't find the variable, the following is probably a safer bet: (define (parser-defined? x) (not (null? (ly:parser-lookup parser x)))) Regards, Neil _______________________________________________ lilypond-devel mailing list lilypond-devel@xxxxxxx http://lists.gnu.org/mailman/listinfo/lilypond-devel
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |