[langutil] ParserBase: make advance() overridable and make sure it's used.

This commit is contained in:
Christian Parpart
2021-06-23 12:53:25 +02:00
parent 26598a2603
commit f561c1e90b
3 changed files with 74 additions and 74 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ protected:
Token peekNextToken() const;
std::string tokenName(Token _token);
std::string currentLiteral() const;
Token advance();
virtual Token advance();
///@}
/// Increases the recursion depth and throws an exception if it is too deep.