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