From 56dfae2c954f6e321e861a347fd043f75e5ee7d2 Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Thu, 8 Apr 2010 23:59:50 +0100 Subject: [PATCH] Use ly:warning for syntax error message with chord names. * scm/chord-entry.scm (interpret-bass): replace scm-error with ly:warning --- scm/chord-entry.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2