xo-reader: simplify paren handling logic

This commit is contained in:
Roland Conybeare 2024-08-09 20:40:37 -04:00
commit 538c9d90e5
8 changed files with 22 additions and 34 deletions

View file

@ -14,11 +14,6 @@ namespace xo {
gen_expr_{std::move(valex)}
{}
#ifdef OBSOLETE
bool
progress_xs::admits_definition() const { return false; }
#endif
bool
progress_xs::admits_symbol() const { return false; }
@ -31,10 +26,6 @@ namespace xo {
bool
progress_xs::admits_singleassign() const { return false; }
/* todo: will parse as function call */
bool
progress_xs::admits_leftparen() const { return false; }
bool
progress_xs::admits_rightparen() const {
/* satisfies expression form */