Hi David,

On 27/06/2022 21:07, David Kastrup wrote:
Before looking for a possible following `=`
LilyPond has to have made a decision what type the token/expression
coming before that has.  It cannot look at the type of a #... expression
before deciding to look for `=` but it can (and will) look at the type
of a $... expression.

Now syntax errors are comparatively unhelpful, so one could try to
tentatively accept an #... = ... expression anyway and then barf if the
expression type does not support it.  The result would likely not be
worse for the user.


thanks for your consideration. I don’t think I’m qualified to speak on that… a decision might depend on how strongly a user is expected to know about the # vs. $ issue.

Best, Simon


Reply via email to