]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2692: Let ly:make-moment accept rationals for main and grace timing
authorDavid Kastrup <dak@gnu.org>
Mon, 23 Jul 2012 10:25:26 +0000 (12:25 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 27 Jul 2012 05:29:32 +0000 (07:29 +0200)
commit9d1653ba738b9a9d6cf1ff4502f875988f632503
treedce6457af0a128e60ae4ecef3dadf45b6386e528
parentc518714bac6beb904724397af17de5282056a25d
Issue 2692: Let ly:make-moment accept rationals for main and grace timing

For compatibility reasons, it remains possible to write two numbers
specifying numerator and denominator instead of the rationals.  These
forms cannot be mixed, and the two-argument form is disambiguated by
the sign of the second argument: if it is positive, it can only be a
denominator and not a grace timing.
lily/moment-scheme.cc