From: David Kastrup Date: Sat, 16 Nov 2013 17:25:03 +0000 (+0100) Subject: Issue 3666: Format error message for argument errors more nicely X-Git-Tag: release/2.18.1-1~35 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=77532340587d13af801da118688210d8183911d1;p=lilypond.git Issue 3666: Format error message for argument errors more nicely Actually, using display-lily-music here would be nicer, but it does not cater for anything but music automatically like music->make-music does. --- diff --git a/scm/ly-syntax-constructors.scm b/scm/ly-syntax-constructors.scm index b3d7f3f0f0..5fe0bfbbef 100644 --- a/scm/ly-syntax-constructors.scm +++ b/scm/ly-syntax-constructors.scm @@ -73,7 +73,7 @@ parser (format #f (_ "wrong type for argument ~a. Expecting ~a, found ~s") - n (type-name pred) arg) + n (type-name pred) (music->make-music arg)) location)) (define-ly-syntax-simple (void-music)