From: Neil Puttock Date: Thu, 8 Apr 2010 22:59:50 +0000 (+0100) Subject: Use ly:warning for syntax error message with chord names. X-Git-Tag: release/2.13.18-1~15^2~114 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=56dfae2c954f6e321e861a347fd043f75e5ee7d2;p=lilypond.git Use ly:warning for syntax error message with chord names. * scm/chord-entry.scm (interpret-bass): replace scm-error with ly:warning --- diff --git a/scm/chord-entry.scm b/scm/chord-entry.scm index d66b2bd470..17735e6aca 100644 --- a/scm/chord-entry.scm +++ b/scm/chord-entry.scm @@ -47,7 +47,7 @@ Entry point for the parser. (set! bass (cadr mods)) (set! mods (cddr mods)))) (if (pair? mods) - (scm-error 'chord-format "construct-chord" "Spurious garbage following chord: ~A" mods #f)) + (ly:warning (_ "Spurious garbage following chord: ~A") mods)) chord) (define (interpret-removals chord mods)