diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-08-16 22:31:23 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2016-08-16 22:31:23 +0800 |
commit | ec3298535ebe1d6602df9196b81c92d4a88b4821 (patch) | |
tree | f09308a0955b9fb08736b8afa59a381cb909e232 /libsolidity/parsing/Scanner.h | |
parent | 970260bf0f8b9cdfd46c6956c14e267788ffdc0f (diff) | |
download | dexon-solidity-ec3298535ebe1d6602df9196b81c92d4a88b4821.tar.gz dexon-solidity-ec3298535ebe1d6602df9196b81c92d4a88b4821.tar.zst dexon-solidity-ec3298535ebe1d6602df9196b81c92d4a88b4821.zip |
Introduce hex literals (#832)
* Introduce hex keyword token
* Support hex literals
* Include tests for hex literals
* Document hex literals
Diffstat (limited to 'libsolidity/parsing/Scanner.h')
-rw-r--r-- | libsolidity/parsing/Scanner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/parsing/Scanner.h b/libsolidity/parsing/Scanner.h index 708adf8f..36cba112 100644 --- a/libsolidity/parsing/Scanner.h +++ b/libsolidity/parsing/Scanner.h @@ -203,6 +203,7 @@ private: std::tuple<Token::Value, unsigned, unsigned> scanIdentifierOrKeyword(); Token::Value scanString(); + Token::Value scanHexString(); Token::Value scanSingleLineDocComment(); Token::Value scanMultiLineDocComment(); /// Scans a slash '/' and depending on the characters returns the appropriate token |