diff options
author | Christian <c@ethdev.com> | 2014-10-24 01:22:30 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-24 03:37:57 +0800 |
commit | 094ee44f721054518ff384aef7cde1afe649636d (patch) | |
tree | 4b6935c867fd01c70ea8385778c2017067ec4dd6 /Parser.h | |
parent | 781d7fd5149f6e24d60cd0327841ca9f2fca23af (diff) | |
download | dexon-solidity-094ee44f721054518ff384aef7cde1afe649636d.tar.gz dexon-solidity-094ee44f721054518ff384aef7cde1afe649636d.tar.zst dexon-solidity-094ee44f721054518ff384aef7cde1afe649636d.zip |
Use boost errinfo.
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -73,9 +73,12 @@ private: Token::Value expectAssignmentOperator(); ASTPointer<ASTString> expectIdentifierToken(); ASTPointer<ASTString> getLiteralAndAdvance(); - void throwExpectationError(std::string const& _description); /// @} + /// Creates a @ref ParserError exception and annotates it with the current position and the + /// given @a _description. + ParserError createParserError(std::string const& _description) const; + std::shared_ptr<Scanner> m_scanner; }; |