aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-01-07 14:16:55 +0100
committerdec05eba <dec05eba@protonmail.com>2018-01-07 14:17:03 +0100
commit6c8ed38bb07e69c286999548bb1157cc0086256c (patch)
tree7602801a808a8a95109f1d5d1f5e274b8ded6a11 /src
parent0bb8fff4d481f5076639d28b55daf76dd2b2ea0f (diff)
Correct language version error message
Diffstat (limited to 'src')
-rw-r--r--src/Conf.cpp4
1 files 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);
}