]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4457: Let error message for #{ ... #} use better source location
authorDavid Kastrup <dak@gnu.org>
Thu, 18 Jun 2015 16:04:27 +0000 (18:04 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 23 Jun 2015 08:19:49 +0000 (10:19 +0200)
scm/parser-ly-from-scheme.scm

index e0ee2961cd939dc4f8a0a797d4b66783d50c92f2..00368e881fea665152831be7f4dc7938d1647b11 100644 (file)
@@ -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