diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-07 16:49:22 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-07 16:49:22 -0500 |
commit | bca63af9342506d7d6a9cc0e639a18a2613649ae (patch) | |
tree | 4b5d1409fe3d06faee52d4d997cdeb0372b356cc | |
parent | 4eb248671f38c914be640d3e53cbd71563f4737f (diff) | |
download | horizon-bca63af9342506d7d6a9cc0e639a18a2613649ae.tar.gz horizon-bca63af9342506d7d6a9cc0e639a18a2613649ae.tar.bz2 horizon-bca63af9342506d7d6a9cc0e639a18a2613649ae.tar.xz horizon-bca63af9342506d7d6a9cc0e639a18a2613649ae.zip |
hscript: Clarify messages a little
-rw-r--r-- | hscript/script.cc | 4 |
1 files 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++; } |