David Kastrup wrote Thursday, July 19, 2012 6:53 PM
> "Trevor Daniels" <[email protected]> writes:
>
>> David Kastrup wrote Thursday, July 19, 2012 5:18 PM
>>
>>> \relative c' { b = 4. }
>>>
>>> (quick: can you guess what this does?).
>>
>> :) Well, I guessed correctly the 4. would be interpreted as a duration
>> in note mode, but I didn't know whether the = would muck it up.
>
> So what makes it legitimate? That's the interesting question...
octave_check:
/**/ { $$ = SCM_EOL; }
| '=' { $$ = scm_from_int (0); }
| '=' sub_quotes { $$ = scm_from_int (-$2); }
| '=' sup_quotes { $$ = scm_from_int ($2); }
;
I should have spotted this, but I've never used octave checks.
I suppose others might ... :(
Trevor
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel