]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-function.cc
Let ASSERT_LIVE_IS_ALLOWED take an argument to print the last unallowed live object
[lilypond.git] / lily / music-function.cc
index 85b21575761961e209a76811fae4506297940463..b9159fe3a74b7e08f5a72e243adbee87f6b93c5e 100644 (file)
@@ -83,6 +83,6 @@ Musicfunction::mark_smob (SCM s)
 {
   Musicfunction *p = Musicfunction::unsmob (s);
   scm_gc_mark (p->signature_);
-  ASSERT_LIVE_IS_ALLOWED ();
+  ASSERT_LIVE_IS_ALLOWED (s);
   return p->function_;
 }