]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/lily-parser.hh
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / lily / include / lily-parser.hh
index 0a8656fd150e82fed4fe417d99738359bb929678..e4ff2969b92ce8143326b8a4a7889ee0ee64169e 100644 (file)
@@ -36,13 +36,13 @@ class Lily_parser : public Smob<Lily_parser>
 public:
   int print_smob (SCM, scm_print_state *) const;
   SCM mark_smob () const;
-  static const char type_p_name_[];
+  static const char * const type_p_name_;
   virtual ~Lily_parser ();
   Lily_lexer *lexer_;
   Sources *sources_;
   Duration default_duration_;
   int default_tremolo_type_;
-  std::string output_basename_;
+  string output_basename_;
   SCM closures_;
 
   int fatal_error_;
@@ -57,14 +57,14 @@ public:
 
   void clear ();
   void do_init_file ();
-  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&);
+  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&);
   // The following is called as yyerror
-  static void parser_error (Input const *i, Lily_parser *parser, SCM *, const std::string &s);
+  static void parser_error (Input const *i, Lily_parser *parser, SCM *, const string &s);
   void set_yydebug (bool);
 
   SCM make_scope () const;