]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3153: Let music inside of #{ ... #} originate from @code{location} if set
authorDavid Kastrup <dak@gnu.org>
Mon, 4 Feb 2013 15:38:12 +0000 (16:38 +0100)
committerDavid Kastrup <dak@gnu.org>
Mon, 11 Feb 2013 16:01:53 +0000 (17:01 +0100)
commitb24aaf5d1e10c5ea055043ce6b2c3d50d2a9c943
tree0cc3ca4eb31e0e98403210d47242d12d31ba3ce8
parent8a0452b75041d7a5ba1837c67f35c492ba0496a2
Issue 3153: Let music inside of #{ ... #} originate from @code{location} if set

In particular with regard to point-and-click, it has been a reoccuring
complaint that music originating from #{ ... #} has the #{ ... #}
environment as its origin.  This patch will make such music originate
from @code{location} if set to a valid input location.

It would seem somewhat peculiar that #{ ... #} just grabs whatever
meaning @code{location} happens to have at the current lexical level
and runs with it.  However, the same is already done for
@code{parser}, so it is not really out of line.
Documentation/extending/programming-interface.itely
lily/include/lily-lexer.hh
lily/include/lily-parser.hh
lily/lily-lexer.cc
lily/lily-parser-scheme.cc
lily/lily-parser.cc
lily/parser.yy
ly/init.ly
scm/parser-ly-from-scheme.scm