]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4422/1: Remove parser/location global variable setup
authorDavid Kastrup <dak@gnu.org>
Tue, 26 May 2015 11:36:53 +0000 (13:36 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 2 Jun 2015 08:41:28 +0000 (10:41 +0200)
commit9a6b086e5af718384faa1395dcb1ea657724e616
treefaad352a01e5e3697061da5d612c5c5c73de1bb7
parentb1a041c2c5b46e4f3ad654cbcfb712c267031863
Issue 4422/1: Remove parser/location global variable setup

Instead of relying on the global parser/location work horse (or
respective symbols in local scope), now fluids %parser/%location and
getter functions (*parser*)/(*location*) are employed for setting up the
general parsing and providing #{...#} with accurate information.

This patch removes the global setup and internal information flow: there
is still a variable "parser" being set in local parser modules.
lily/parse-scm.cc
ly/init.ly
scm/lily.scm
scm/parser-ly-from-scheme.scm