mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed spelling and coding style errors
This commit is contained in:
parent
82e27dcad9
commit
3a4a504c42
@ -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 (-)."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user