From 2738f4066a3786bea5d5c0b49709fa99547b8eff Mon Sep 17 00:00:00 2001 From: RJ Catalano Date: Mon, 7 Mar 2016 13:55:48 -0600 Subject: changed 1 to 0 in invalid argument catch block --- libsolidity/parsing/Token.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsolidity/parsing/Token.cpp') 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::fromIdentifierOrKeyword(string const& _literal) -- cgit