]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/context-mod.cc
Let ASSERT_LIVE_IS_ALLOWED take an argument to print the last unallowed live object
[lilypond.git] / lily / context-mod.cc
index 460d18bcfd79222ae0c138f798899a3746e3dfdb..cb6cf83562fcd64fe5d8303f3ab4ceb2cd56627b 100644 (file)
@@ -53,7 +53,7 @@ Context_mod::print_smob (SCM smob, SCM port, scm_print_state *)
 SCM
 Context_mod::mark_smob (SCM smob)
 {
-  ASSERT_LIVE_IS_ALLOWED ();
+  ASSERT_LIVE_IS_ALLOWED (smob);
 
   Context_mod *me = (Context_mod *) SCM_CELL_WORD_1 (smob);