]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-function.cc
Issue 4455/2: Pass location to syntax constructors as %location fluid
[lilypond.git] / lily / music-function.cc
index 353dc8997085b69778c95d7495d801e1e2ae5aba..da0860b9fe770f0a6a6b8d20b2fb8fce98809e62 100644 (file)
@@ -168,6 +168,6 @@ Music_function::call (SCM rest)
   if (scm_is_true (scm_call_1 (pred, res)))
     return with_loc (res, location, false);
 
-  return scm_call_3 (ly_lily_module_constant ("music-function-call-error"),
-                     location, self_scm (), res);
+  return scm_call_2 (ly_lily_module_constant ("music-function-call-error"),
+                     self_scm (), res);
 }