From 57307442c5d707591dfc4d5e7671364fa564fa5c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 8 Oct 2019 19:31:28 -0500 Subject: hscript: Better message for duplicate value, and test for it --- hscript/script.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hscript') diff --git a/hscript/script.cc b/hscript/script.cc index a07af15..a8101dc 100644 --- a/hscript/script.cc +++ b/hscript/script.cc @@ -93,7 +93,7 @@ struct Script::ScriptPrivate { err_str += std::to_string(this->network->lineno()); if(errors) *errors += 1; output_error("installfile:" + std::to_string(lineno), - "'network' key has already been specified", + "duplicate value for key 'network'", err_str); return false; } -- cgit v1.2.3-70-g09d2