From bca63af9342506d7d6a9cc0e639a18a2613649ae Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 7 Oct 2019 16:49:22 -0500 Subject: hscript: Clarify messages a little --- hscript/script.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hscript/script.cc b/hscript/script.cc index 038c9c1..40c5fbf 100644 --- a/hscript/script.cc +++ b/hscript/script.cc @@ -117,14 +117,14 @@ const Script *Script::load(std::istream &sstream, ScriptOptions opts) { if(sstream.fail() && !sstream.eof()) { output_error("installfile:" + std::to_string(lineno + 1), "line exceeds maximum length", - "Maximum length for line is " + std::to_string(LINE_MAX), + "Maximum line length is " + std::to_string(LINE_MAX), (opts.test(Pretty))); errors++; } if(sstream.bad() && !sstream.eof()) { output_error("installfile:" + std::to_string(lineno), - "I/O error reading installfile", "", + "I/O error while reading installfile", "", (opts.test(Pretty))); errors++; } -- cgit v1.2.3-60-g2f50