From 3a4a504c4288b220cd9da1939e00bd81028f3832 Mon Sep 17 00:00:00 2001 From: Eduard Date: Thu, 16 Feb 2023 17:27:08 +0100 Subject: [PATCH] Fixed spelling and coding style errors --- liblangutil/SemVerHandler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/liblangutil/SemVerHandler.cpp b/liblangutil/SemVerHandler.cpp index 1d57e4dd5..83f526113 100644 --- a/liblangutil/SemVerHandler.cpp +++ b/liblangutil/SemVerHandler.cpp @@ -208,10 +208,11 @@ void SemVerMatchExpressionParser::parseMatchExpression() range.components.push_back(parseMatchComponent()); if (currentToken() == Token::Sub) { - if(containPrefixingToken()) { + if (containPrefixingToken()) + { solThrow( SemVerError, - "You cannot use operators (<, <=, >=, >, ^) with verison ranges (-)." + "You cannot use operators (<, <=, >=, >, ^) with version ranges (-)." ); }