]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4442/8: Explain general removal of "parser" in Changes
authorDavid Kastrup <dak@gnu.org>
Fri, 12 Jun 2015 10:03:30 +0000 (12:03 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 16 Jun 2015 19:17:29 +0000 (21:17 +0200)
Documentation/changes.tely

index f6137cf8f293f7adee43cf5479a9b7d705d1ec31..dcd935704300174d68f0efe40280064d9282aee0 100644 (file)
@@ -74,17 +74,20 @@ argument list for explicitly skipping a sequence of optional
 arguments, @code{*unspecified*} can be employed.
 
 @item
-The definition of LilyPond functions with
-@code{define-music-function}, @code{define-event-function},
-@code{define-scheme-function} and @code{define-void-function} no
-longer requires specification of @code{parser} and @code{location}
-arguments.  Current parser and input location are part of the
-current dynamic state and can be accessed with the function calls
-@code{(*parser*)} and @code{(*location*)} when required.
-
-LilyPond makes a best-faith attempt of recognizing legacy use of
-@code{parser} and @code{location} arguments and will provide
-backwards-compatible semantics for some time.
+Current input location and parser are now stored in GUILE fluids
+and can be referenced via the function calls @code{(*location*)}
+and @code{(*parser*)}.  Consequently, a lot of functions
+previously taking an explicit @code{parser} argument no longer do
+so.
+
+Functions defined with @code{define-music-function},
+@code{define-event-function}, @code{define-scheme-function} and
+@code{define-void-function} no longer use @code{parser} and
+@code{location} arguments.
+
+With those particular definitions, LilyPond will try to recognize
+legacy use of @code{parser} and @code{location} arguments,
+providing backwards-compatible semantics for some time.
 
 @item
 In the "english" notename language, the long notenames for pitches