]> git.donarmstrong.com Git - lilypond.git/commitdiff
(try_music): don't print warning
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 19 Aug 2005 19:54:02 +0000 (19:54 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 19 Aug 2005 19:54:02 +0000 (19:54 +0000)
about not being able to handle repeat.

ChangeLog
lily/ly-module.cc
lily/percent-repeat-engraver.cc

index 7aaf5ed3a8a43c11da2cfc878a1d20130bda6a0c..6ca1f1587f419239015698eb38b5787352a7ad7d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/percent-repeat-engraver.cc (try_music): don't print warning
+       about not being able to handle repeat.
+
 2005-08-19  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * Documentation/user/examples.itely (Piano templates):
index 9ce3b380877864b9ead3cbf5fe42d3cea1f1253c..0f5fa5d46eca59c68faed03882df0963ea77c939 100644 (file)
@@ -156,7 +156,7 @@ redefine_keyval (void *closure, SCM key, SCM val, SCM result)
 void
 make_stand_in_procs_weak ()
 {
-  if (SCM_IS_WHVEC_ANY(scm_stand_in_procs))
+  if (scm_weak_key_hash_table_p (scm_stand_in_procs) == SCM_BOOL_T)
     {
 #if (SCM_MINOR_VERSION == 7) 
       perform_gc_kludge = false;
index 51213abcda40891bbc284c9ef584c25013b0490d..af00fa6f2c35aad83fd56095116dbe8175f9331d 100644 (file)
@@ -107,11 +107,8 @@ Percent_repeat_engraver::try_music (Music *m)
       else if (Moment (2) * meas_len == body_length_)
        repeat_sign_type_ = DOUBLE_MEASURE;
       else
-       {
-         warning (_f ("can't handle a percent repeat of length: %s",
-                      body_length_.to_string ()));
-         return false;
-       }
+       return false;
+    
 
       repeat_ = m;