Use boost errinfo.

This commit is contained in:
Christian
2014-10-23 21:37:57 +02:00
parent 781d7fd514
commit 094ee44f72
8 changed files with 164 additions and 83 deletions
+4 -1
View File
@@ -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;
};