diff options
author | RJ Catalano <rcatalano@macsales.com> | 2016-03-08 03:55:48 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-03-12 00:49:32 +0800 |
commit | 2738f4066a3786bea5d5c0b49709fa99547b8eff (patch) | |
tree | f0672f1c46625facb754aae66797e121abad9afb /libsolidity/parsing/Token.cpp | |
parent | 93114949a3fa03db39d747b7f97969e167d3748b (diff) | |
download | dexon-solidity-2738f4066a3786bea5d5c0b49709fa99547b8eff.tar.gz dexon-solidity-2738f4066a3786bea5d5c0b49709fa99547b8eff.tar.zst dexon-solidity-2738f4066a3786bea5d5c0b49709fa99547b8eff.zip |
changed 1 to 0 in invalid argument catch block
Diffstat (limited to 'libsolidity/parsing/Token.cpp')
-rw-r--r-- | libsolidity/parsing/Token.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Token.cpp b/libsolidity/parsing/Token.cpp index 9e8bc503..cbb46f0d 100644 --- a/libsolidity/parsing/Token.cpp +++ b/libsolidity/parsing/Token.cpp @@ -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) |