From: David Kastrup Date: Thu, 18 Jun 2015 16:04:27 +0000 (+0200) Subject: Issue 4457: Let error message for #{ ... #} use better source location X-Git-Tag: release/2.19.22-1~13 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e96e340ad1d9ae9d40849c2f0fe26f963f52c522;p=lilypond.git Issue 4457: Let error message for #{ ... #} use better source location --- diff --git a/scm/parser-ly-from-scheme.scm b/scm/parser-ly-from-scheme.scm index e0ee2961cd..00368e881f 100644 --- a/scm/parser-ly-from-scheme.scm +++ b/scm/parser-ly-from-scheme.scm @@ -70,7 +70,7 @@ from @var{port} and return the corresponding Scheme music expression. (result (ly:parse-string-expression clone lily-string filename line))) (if (ly:parser-has-error? clone) - (ly:parser-error (_ "error in #{ ... #}"))) + (ly:parser-error (_ "error in #{ ... #}") (*location*))) result)) (list embedded-lilypond lily-string filename line