lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax change proposal:


From: Trevor Daniels
Subject: Re: Syntax change proposal:
Date: Thu, 19 Jul 2012 22:02:06 +0100

David Kastrup wrote Thursday, July 19, 2012 6:53 PM

> "Trevor Daniels" <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]