xo-reader: simplify paren handling logic
This commit is contained in:
parent
6b9503ef76
commit
538c9d90e5
8 changed files with 22 additions and 34 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue