diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-01-07 14:16:55 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-01-07 14:17:03 +0100 |
commit | 6c8ed38bb07e69c286999548bb1157cc0086256c (patch) | |
tree | 7602801a808a8a95109f1d5d1f5e274b8ded6a11 | |
parent | 0bb8fff4d481f5076639d28b55daf76dd2b2ea0f (diff) |
Correct language version error message
-rw-r--r-- | src/Conf.cpp | 4 |
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); } |