diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-03 03:42:26 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-04 05:10:51 +0800 |
commit | ed9f80690bde53e56c6ef5cb046fb20713f3f780 (patch) | |
tree | ee51257c9b6182dd7996010c36df5725b976e44c /libsolidity/parsing/Parser.h | |
parent | 73c99d15cdf5ef0589096d6d42025a21502fc8d9 (diff) | |
download | dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.gz dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.bz2 dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.lz dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.xz dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.zst dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.zip |
Simplify expectIdentifierToken by using expectToken
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r-- | libsolidity/parsing/Parser.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h index 2679af9f..7f02d895 100644 --- a/libsolidity/parsing/Parser.h +++ b/libsolidity/parsing/Parser.h @@ -165,7 +165,6 @@ private: /// @returns an expression parsed in look-ahead fashion from something like "a.b[8][2**70]". ASTPointer<Expression> expressionFromIndexAccessStructure(IndexAccessedPath const& _pathAndIndices); - std::string currentTokenName(); ASTPointer<ASTString> expectIdentifierToken(); ASTPointer<ASTString> getLiteralAndAdvance(); ///@} |