xo-reader: simplify: drop redundant virtual admits_xxx()

This commit is contained in:
Roland Conybeare 2024-08-10 17:30:45 -05:00
commit 18a4b51d3c
7 changed files with 10 additions and 26 deletions

View file

@ -74,8 +74,10 @@ namespace xo {
/** true iff this parsing state admits a symbol as next token **/
virtual bool admits_symbol() const;
#ifdef OBSOLETE
/** true iff this parsing state admits a semicolon as next token **/
virtual bool admits_semicolon() const;
#endif
/** true iff this parsing state admits a singleassign '=' as next token **/
virtual bool admits_singleassign() const;