From: David Kastrup Date: Sun, 6 Mar 2016 19:45:02 +0000 (+0100) Subject: Issue 4786: fee.fi = 0 was interpreted as as fee = 0 for undefined fee X-Git-Tag: release/2.19.38-1~6^2~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=36db2fa47f596e6e41a60473f837ea04ebfd7849;p=lilypond.git Issue 4786: fee.fi = 0 was interpreted as as fee = 0 for undefined fee If fee had been defined previously, the behavior became more sensible, treating fee as an alist with a value of 0 for key fi. This is now always the case. --- diff --git a/lily/lily-lexer.cc b/lily/lily-lexer.cc index b6cbda7f97..221d048cc0 100644 --- a/lily/lily-lexer.cc +++ b/lily/lily-lexer.cc @@ -285,6 +285,8 @@ Lily_lexer::set_identifier (SCM path, SCM val) SCM prev = ly_module_lookup (mod, sym); if (scm_is_true (prev)) val = nested_property_alist (scm_variable_ref (prev), path, val); + else + val = nested_create_alist (path, val); } scm_module_define (mod, sym, val); }