>> Maybe we can add some code to prevent the redefinition of `Scheme
>> constants' (in the broadest sense) like x, y, left, right, #t, #f?
> 
> I don't think we can really do this for Scheme, so we'd lose the
> Scheme/LilyPond equivalence of variables.

Hmm, so what about a warning:

  The variable `foo' is hiding a Scheme symbol with the same name.

This could be even hard-coded into the parser since the number of such
symbols is rather small.


    Werner

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to