From 47a4e076329a571961efa9911464f69ca954e98c Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Wed, 10 Jun 2015 11:35:16 +0200 Subject: [PATCH] Issue 4439/2: Let Input::error actually raise a fatal error --- lily/input.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.2