Fixed spelling and coding style errors

This commit is contained in:
Eduard 2023-02-16 17:27:08 +01:00
parent 82e27dcad9
commit 3a4a504c42

View File

@ -208,10 +208,11 @@ void SemVerMatchExpressionParser::parseMatchExpression()
range.components.push_back(parseMatchComponent()); range.components.push_back(parseMatchComponent());
if (currentToken() == Token::Sub) if (currentToken() == Token::Sub)
{ {
if(containPrefixingToken()) { if (containPrefixingToken())
{
solThrow( solThrow(
SemVerError, SemVerError,
"You cannot use operators (<, <=, >=, >, ^) with verison ranges (-)." "You cannot use operators (<, <=, >=, >, ^) with version ranges (-)."
); );
} }