]> git.donarmstrong.com Git - lilypond.git/commitdiff
clarify -ddebug-gc-assert-parsed-dead function
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 28 Dec 2006 00:33:47 +0000 (01:33 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 28 Dec 2006 00:43:03 +0000 (01:43 +0100)
scm/lily.scm

index 98c84fa34dfc05c1553287404724388abc8fdbaf..7f73a3dfde450fd001649cb109fce4dab437bd92 100644 (file)
@@ -21,8 +21,8 @@
              (check-internal-types #f "check every property assignment for types")
              (clip-systems #f "Generate cut-out snippets of a score")
              (debug-gc #f "dump memory debugging statistics")
-             (debug-gc-assert-parsed-dead
-              #f "for memory debugging: ensure that all refs to parsed objects are dead.")
+             (debug-gc-assert-parsed-dead #f "for memory debugging:
+ensure that all refs to parsed objects are dead.  This is an internal option, and is switched on automatically for -ddebug-gc.") 
              (debug-lexer #f "debug the flex lexer")
              (debug-midi #f "generate human readable MIDI")
              (debug-parser #f "debug the bison parser")
@@ -395,6 +395,7 @@ The syntax is the same as `define*-public'."
          (ly:reset-all-fonts)
          (gc)
          (gc)
+         (display "Asserting dead objects\n")
          (ly:set-option 'debug-gc-assert-parsed-dead #t)
          (gc)
          (ly:set-option 'debug-gc-assert-parsed-dead #f)