aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing
diff options
context:
space:
mode:
authorRJ Catalano <rcatalano@macsales.com>2016-03-08 02:31:44 +0800
committerchriseth <c@ethdev.com>2016-03-12 00:49:32 +0800
commit93114949a3fa03db39d747b7f97969e167d3748b (patch)
treeda94e3d877289eaa4282fc8a20e0cb795beb9555 /libsolidity/parsing
parent953e92b6f53ffee90cac3a79828a668cf1a55435 (diff)
downloaddexon-solidity-93114949a3fa03db39d747b7f97969e167d3748b.tar.gz
dexon-solidity-93114949a3fa03db39d747b7f97969e167d3748b.tar.zst
dexon-solidity-93114949a3fa03db39d747b7f97969e167d3748b.zip
needed this one string of notation
Diffstat (limited to 'libsolidity/parsing')
-rw-r--r--libsolidity/parsing/Token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/parsing/Token.h b/libsolidity/parsing/Token.h
index c81e4210..e415ed4f 100644
--- a/libsolidity/parsing/Token.h
+++ b/libsolidity/parsing/Token.h
@@ -306,6 +306,7 @@ public:
private:
// extractUnsigned provides a safe way to extract numbers,
+ // if out_of_range error is thrown, they returns 0s, therefore securing
// the variable's identity as an identifier. If an invalid conversion
// error is thrown (usually in the case of grabbing N from a fixed type)
// then a 1 is thrown to purposely ensure that it will declare itself as an identifier