diff options
author | RJ Catalano <rcatalano@macsales.com> | 2016-03-08 05:36:25 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-03-12 00:49:32 +0800 |
commit | 9f5c3977fb0c1a4607a955811ea3cda6e0547b66 (patch) | |
tree | 435e0e211172dc06fa8f76018033b2f6d0e8c8e9 /libsolidity/parsing/Token.h | |
parent | 2738f4066a3786bea5d5c0b49709fa99547b8eff (diff) | |
download | dexon-solidity-9f5c3977fb0c1a4607a955811ea3cda6e0547b66.tar.gz dexon-solidity-9f5c3977fb0c1a4607a955811ea3cda6e0547b66.tar.zst dexon-solidity-9f5c3977fb0c1a4607a955811ea3cda6e0547b66.zip |
changed extractUnsigned to handle iterators rather than a string
Diffstat (limited to 'libsolidity/parsing/Token.h')
-rw-r--r-- | libsolidity/parsing/Token.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Token.h b/libsolidity/parsing/Token.h index ce6eed18..fea80ef7 100644 --- a/libsolidity/parsing/Token.h +++ b/libsolidity/parsing/Token.h @@ -310,7 +310,7 @@ private: // 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 0 is thrown to purposely ensure that it will declare itself as an identifier - static unsigned extractUnsigned(std::string const& _literal); + static unsigned extractUnsigned(std::string::const_iterator const& _begin, std::string::const_iterator const& _end); // @returns the keyword with name @a _name or Token::Identifier of no such keyword exists. static Token::Value keywordByName(std::string const& _name); static char const* const m_name[NUM_TOKENS]; |