Improve error checking in ly:assoc-get and ly:chain-assoc-get.
commitbc127f86249bedde099596d463d6eef92ec76206
authorMichael Käppler <xmichael-k@web.de>
Sun, 13 Sep 2009 10:31:47 +0000 (13 12:31 +0200)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 13 Sep 2009 17:12:11 +0000 (13 18:12 +0100)
tree0757743b22d885e7cca37549bfa351e37f3fda8f
parent9a6688325540c524970b30fbb4ad5225eb303652
Improve error checking in ly:assoc-get and ly:chain-assoc-get.

* Introduce a new optional argument strict_checking

* When strict_checking is set to true, output a programming_error
  if the given key is not found in the given alist / achain.

* This patch does not change the current behaviour. It prepares
  a greater modification to remove all assoc calls through
  secure assoc-get calls.

* Remove obsolete chain-assoc-get definition from lily-library.scm
lily/general-scheme.cc
lily/include/lily-guile.hh
scm/lily-library.scm