xo-reader: simplify rightparen logic
This commit is contained in:
parent
538c9d90e5
commit
fb30451684
6 changed files with 11 additions and 71 deletions
|
|
@ -90,9 +90,9 @@ namespace xo {
|
|||
#ifdef OBSOLETE
|
||||
/** true iff this parsing state admits a leftparen '(' as next token **/
|
||||
virtual bool admits_leftparen() const;
|
||||
#endif
|
||||
/** truee iff this parsing state admits a rightparen ')' as next token **/
|
||||
virtual bool admits_rightparen() const;
|
||||
#endif
|
||||
|
||||
/** update exprstate in response to incoming token @p tk,
|
||||
* forward instructions to parent parser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue