]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / parser.yy
index 87edcdafed7cc33c4cf48e4dc68c4998789e67dd..cadcd898698ef56b245eed44df0091f0c2a2b9e1 100644 (file)
@@ -141,7 +141,7 @@ using namespace std;
 #include "lily-imports.hh"
 
 void
-Lily_parser::parser_error (Input const *i, Lily_parser *parser, SCM *, const string &s)
+Lily_parser::parser_error (Input const *i, Lily_parser *parser, SCM *, const std::string &s)
 {
        parser->parser_error (*i, s);
 }
@@ -223,6 +223,7 @@ SCM get_next_unique_lyrics_context_id ();
 #define _(x) gettext (x)
 #endif
 
+using std::string;
 
 static Music *make_music_with_input (SCM name, Input where);
 SCM check_scheme_arg (Lily_parser *parser, Input loc,