X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Flily-lexer.cc;h=221d048cc00aa9a0f67f2f963b5932a43475328d;hb=c8ad65d84d9c5f939c787fe956ac1346f9294bd4;hp=c58885a89542771b29cc503f8531d60033b52a29;hpb=207f71b8b2ab9ca550e841615bedce393e652ca6;p=lilypond.git diff --git a/lily/lily-lexer.cc b/lily/lily-lexer.cc index c58885a895..221d048cc0 100644 --- a/lily/lily-lexer.cc +++ b/lily/lily-lexer.cc @@ -37,8 +37,6 @@ using namespace std; #include "lily-parser.hh" #include "ly-module.hh" -using std::string; - static Keyword_ent the_key_tab[] = { @@ -287,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); }