]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-lexer.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / lily-lexer.cc
index c4f2731cac66e0460eada184ecc2158827d8d271..e677b9e5c51bcef8a5763f1aa7139be8cbaa5d90 100644 (file)
@@ -170,7 +170,7 @@ Lily_lexer::set_current_scope ()
 }
 
 int
-Lily_lexer::lookup_keyword (std::string s)
+Lily_lexer::lookup_keyword (string s)
 {
   return keytable_->lookup (s.c_str ());
 }
@@ -189,7 +189,7 @@ Lily_lexer::lookup_identifier_symbol (SCM sym)
 }
 
 SCM
-Lily_lexer::lookup_identifier (std::string name)
+Lily_lexer::lookup_identifier (string name)
 {
   return lookup_identifier_symbol (ly_symbol2scm (name.c_str ()));
 }
@@ -219,7 +219,7 @@ Lily_lexer::set_identifier (SCM name, SCM s)
     {
       if (lookup_keyword (ly_symbol2string (sym)) >= 0)
        {
-         std::string symstr = ly_symbol2string (sym);
+         string symstr = ly_symbol2string (sym);
          warning (_f ("identifier name is a keyword: `%s'", symstr.c_str ()));
        }