]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/input.hh
Proper loglevels: cmd-line option --loglevel=NONE/ERROR/WARN/BASIC/PROGRESS/DEBUG
[lilypond.git] / lily / include / input.hh
index af9dcff3e6b56280ba1c300a4dc80914c4ceb8c1..91c15df3299dba369b234c1e2de9d84ff0ffb1f0 100644 (file)
@@ -36,11 +36,12 @@ public:
   char const *end () const;
 
   void set (Source_file *, char const *, char const *);
-  void warning (string) const;
+  void error (string) const;
   void programming_error (string) const;
   void non_fatal_error (string) const;
-  void error (string) const;
+  void warning (string) const;
   void message (string) const;
+  void debug_output (string) const;
   void set_spot (Input const &);
   void step_forward ();
   void set_location (Input const &, Input const &);
@@ -60,6 +61,8 @@ public:
 
   Input (Input const &i);
   Input ();
+protected:
+  void print_message (int level, string s) const;
 };
 
 #include "smobs.hh"