]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input.cc
Issue 4439/2: Let Input::error actually raise a fatal error
[lilypond.git] / lily / input.cc
index ea8bbe7813609d7bef0b1659090f182063ec5ae1..adf0e227ad7818044e3d6db9cc9a261d070e4521 100644 (file)
@@ -92,12 +92,11 @@ Input::message_location () const
 {
   return (source_file_) ? location_string () : "";
 }
+
 void
 Input::error (const string &s) const
 {
-  ::non_fatal_error (message_string (s), message_location ());
-  // UGH, fix naming or usage (use non_fatal_error in most places, instead)
-  // exit (1);
+  ::error (message_string (s), message_location ());
 }
 
 void