]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4439/2: Let Input::error actually raise a fatal error
authorDavid Kastrup <dak@gnu.org>
Wed, 10 Jun 2015 09:35:16 +0000 (11:35 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 17 Jun 2015 05:10:12 +0000 (07:10 +0200)
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