]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-lexer.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / lily-lexer.cc
index c58885a89542771b29cc503f8531d60033b52a29..6db0e653e5480d224427df3488bd12ae5c1a3bb5 100644 (file)
@@ -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);
     }
@@ -369,7 +369,7 @@ Lily_lexer::add_lexed_char (int count)
 }
 
 
-const char Lily_lexer::type_p_name_[] = "ly:lily-lexer?";
+const char * const Lily_lexer::type_p_name_ = "ly:lily-lexer?";
 
 SCM
 Lily_lexer::mark_smob () const