changed 1 to 0 in invalid argument catch block

This commit is contained in:
RJ Catalano
2016-03-11 17:49:32 +01:00
committed by chriseth
parent 93114949a3
commit 2738f4066a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)