]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/lily-parser.hh
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / include / lily-parser.hh
index b08df7c7a4ab487f5329b6f4f981a1b2c68f234b..0a8656fd150e82fed4fe417d99738359bb929678 100644 (file)
@@ -42,7 +42,7 @@ public:
   Sources *sources_;
   Duration default_duration_;
   int default_tremolo_type_;
-  string output_basename_;
+  std::string output_basename_;
   SCM closures_;
 
   int fatal_error_;
@@ -57,14 +57,14 @@ public:
 
   void clear ();
   void do_init_file ();
-  void include_string (const string &ly_code);
-  void parse_file (const string &init, const string &name, const string &out_name);
-  void parse_string (const string &ly_code);
-  SCM parse_string_expression (const string &ly_code, const string &filename, int line);
-  void parser_error (const string&);
-  void parser_error (Input const &, const string&);
+  void include_string (const std::string &ly_code);
+  void parse_file (const std::string &init, const std::string &name, const std::string &out_name);
+  void parse_string (const std::string &ly_code);
+  SCM parse_string_expression (const std::string &ly_code, const std::string &filename, int line);
+  void parser_error (const std::string&);
+  void parser_error (Input const &, const std::string&);
   // The following is called as yyerror
-  static void parser_error (Input const *i, Lily_parser *parser, SCM *, const string &s);
+  static void parser_error (Input const *i, Lily_parser *parser, SCM *, const std::string &s);
   void set_yydebug (bool);
 
   SCM make_scope () const;