Skip to content

Commit 2318758

Browse files
authored
Update Parser.cpp
1 parent 9a795ae commit 2318758

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libsolidity/parsing/Parser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,8 +2529,8 @@ std::optional<std::string> Parser::findLicenseString(std::vector<ASTPointer<ASTN
25292529

25302530
if (licenseNames.size() == 1)
25312531
{
2532-
std::string const& license = licenseNames.front();
2533-
if (regex_match(license, licenseNameRegex))
2532+
std::string const& license = licenseNames.front();
2533+
if (regex_match(license, licenseNameRegex))
25342534
return license;
25352535
else
25362536
parserError(

0 commit comments

Comments
 (0)