]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input.cc
abc2ly new tempo syntax
[lilypond.git] / lily / input.cc
index 1379f1c7b579ed76f3937f4c84ae891149668882..14b281fbb87baadb49e10b2b1032d1a4c776bbaa 100644 (file)
@@ -71,10 +71,19 @@ Input::message (string s) const
 {
   if (source_file_)
     s = location_string () + ": " + s + "\n"
-      + source_file_->quote_input (start_);
+      + source_file_->quote_input (start_) + "\n";
   ::message (s);
 }
 
+
+void
+Input::programming_error (string s) const
+{
+  message (_f ("programming error: %s", s.c_str ()));
+  message (_ ("continuing, cross fingers") + "\n");
+}
+
+
 void
 Input::warning (string s) const
 {