From: David Kastrup Date: Wed, 10 Jun 2015 09:35:16 +0000 (+0200) Subject: Issue 4439/2: Let Input::error actually raise a fatal error X-Git-Tag: release/2.19.22-1~41 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=47a4e076329a571961efa9911464f69ca954e98c;p=lilypond.git Issue 4439/2: Let Input::error actually raise a fatal error --- diff --git a/lily/input.cc b/lily/input.cc index ea8bbe7813..adf0e227ad 100644 --- a/lily/input.cc +++ b/lily/input.cc @@ -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