From 6c8ed38bb07e69c286999548bb1157cc0086256c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 7 Jan 2018 14:16:55 +0100 Subject: Correct language version error message --- src/Conf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Conf.cpp b/src/Conf.cpp index 9f63833..e8af27a 100644 --- a/src/Conf.cpp +++ b/src/Conf.cpp @@ -831,7 +831,7 @@ namespace sibs } else { - string errMsg = "Expected lang.c.version to be c89, c99 or c11, was "; + string errMsg = "Expected lang.c.version to be ansi, c89, c99 or c11, was "; errMsg += string(cVersionStr.data, cVersionStr.size); throw ParserException(errMsg); } @@ -865,7 +865,7 @@ namespace sibs } else { - string errMsg = "Expected lang.cpp.version to be c89, c99 or c11, was "; + string errMsg = "Expected lang.cpp.version to be c++11, c++14 or c++17, was "; errMsg += string(cppVersionStr.data, cppVersionStr.size); throw ParserException(errMsg); } -- cgit v1.2.3