mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
changed 1 to 0 in invalid argument catch block
This commit is contained in:
@@ -121,7 +121,7 @@ unsigned Token::extractUnsigned(string const& _literal)
|
||||
}
|
||||
catch (invalid_argument& e)
|
||||
{
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
tuple<Token::Value, unsigned short, unsigned short> Token::fromIdentifierOrKeyword(string const& _literal)
|
||||
|
||||
Reference in New Issue
Block a user