[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Duration bug in 1.4 [from lilypond-devel]
From: |
Mark Hindley |
Subject: |
Re: Duration bug in 1.4 [from lilypond-devel] |
Date: |
Fri, 9 Nov 2001 09:42:15 +0000 (GMT) |
I have got a patch that fixes this for me as far as fractions go.
Mark
diff -urN ../lilypond-1.4.8.moh2/lily/parser.yy ./lily/parser.yy
--- ../lilypond-1.4.8.moh2/lily/parser.yy Wed Oct 17 09:25:04 2001
+++ ./lily/parser.yy Fri Nov 9 09:38:33 2001
@@ -1608,8 +1608,11 @@
Moment m (gh_scm2int (gh_car ($3)), gh_scm2int (gh_cdr ($3)));
$$ = unsmob_duration ($$)->compressed (m).smobbed_copy ();
+
+ THIS->set_last_duration (unsmob_duration ($$));
}
;
+
fraction:
FRACTION { $$ = $1; }