X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Flily.scm;h=5a6b5f388dd2b52b456e4d1679da61def9d48fa7;hb=90cbea4bb9a398033b6ede5e6175d53546ace20c;hp=5c2c846275ed121a5eeeadd7d852a647db4312b3;hpb=d61cf3bbdb1c6670a127ba3baddf2f04d3e34fd3;p=lilypond.git diff --git a/scm/lily.scm b/scm/lily.scm index 5c2c846275..5a6b5f388d 100644 --- a/scm/lily.scm +++ b/scm/lily.scm @@ -408,6 +408,7 @@ messages into errors.") "font.scm" "encoding.scm" + "bar-line.scm" "flag-styles.scm" "fret-diagrams.scm" "tablature.scm" @@ -490,6 +491,7 @@ messages into errors.") (,cheap-list? . "list") (,fraction? . "fraction, as pair") (,grob-list? . "list of grobs") + (,index? . "non-negative integer") ;; this is built on cheap-list (,list-or-symbol? . "list or symbol") (,markup? . "markup") @@ -509,14 +511,16 @@ messages into errors.") )) (define-public lilypond-exported-predicates - `((,ly:box? . "box") + `((,ly:book? . "book") + (,ly:box? . "box") (,ly:context? . "context") + (,ly:context-def? . "context definition") (,ly:context-mod? . "context modification") (,ly:dimension? . "dimension, in staff space") (,ly:dir? . "direction") (,ly:dispatcher? . "dispatcher") (,ly:duration? . "duration") - (,ly:event? . "event") + (,ly:event? . "post event") (,ly:font-metric? . "font metric") (,ly:grob? . "graphical (layout) object") (,ly:grob-array? . "array of grobs") @@ -551,7 +555,6 @@ messages into errors.") (,ly:translator? . "translator") (,ly:translator-group? . "translator group") (,ly:unpure-pure-container? . "unpure/pure container") - (,ly:vsize? . "vsize") )) @@ -640,6 +643,10 @@ messages into errors.") (ly:set-option 'debug-gc-assert-parsed-dead #t) (gc) (ly:set-option 'debug-gc-assert-parsed-dead #f) + (for-each + (lambda (x) + (ly:programming-error "Parsed object should be dead: ~a" x)) + (ly:parsed-undead-list!)) (set! stats (gc-live-object-stats)) (ly:progress "Dumping live object statistics.\n") (dump-live-object-stats outfile))) @@ -830,6 +837,10 @@ PIDs or the number of the process." (ly:set-option 'debug-gc-assert-parsed-dead #t) (gc) (ly:set-option 'debug-gc-assert-parsed-dead #f) + (for-each + (lambda (x) + (ly:programming-error "Parsed object should be dead: ~a" x)) + (ly:parsed-undead-list!)) (if (ly:get-option 'debug-gc) (dump-gc-protects) (ly:reset-all-fonts)) @@ -843,6 +854,8 @@ PIDs or the number of the process." (dump-profile "lily-run-total" '(0 0) (profile-measurements))) failed)) +(define-public lilypond-declarations '()) + (define (lilypond-file handler file-name) (catch 'ly-file-failed (lambda () (ly:parse-file file-name))