]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-lexer.cc
Doc-es: update Changes.
[lilypond.git] / lily / lily-lexer.cc
index 7cfec596c8dff63ca7bdb5a63c3319b5020fb100..221d048cc00aa9a0f67f2f963b5932a43475328d 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <cctype>
 #include <sstream>
+using namespace std;
 
 #include "context.hh" // for nested_property_alist
 #include "international.hh"
@@ -36,8 +37,6 @@
 #include "lily-parser.hh"
 #include "ly-module.hh"
 
-using std::string;
-
 static Keyword_ent the_key_tab[]
 =
 {
@@ -286,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);
     }