xo-reader: tidy: cleanup debris

This commit is contained in:
Roland Conybeare 2024-08-10 17:14:19 -05:00
commit 57b9a7f561
2 changed files with 0 additions and 16 deletions

View file

@ -70,17 +70,6 @@ namespace xo {
{} {}
virtual ~exprstate() = default; virtual ~exprstate() = default;
#ifdef RELOCATED
static std::unique_ptr<exprstate> expect_symbol() {
return std::make_unique<exprstate>(exprstate(exprstatetype::expect_symbol));
}
#endif
#ifdef RELOCATED
static std::unique_ptr<exprstate> expect_type() {
return std::make_unique<exprstate>(exprstate(exprstatetype::expect_type));
}
#endif
exprstatetype exs_type() const { return exs_type_; } exprstatetype exs_type() const { return exs_type_; }
/** true iff this parsing state admits a symbol as next token **/ /** true iff this parsing state admits a symbol as next token **/

View file

@ -23,11 +23,6 @@ namespace xo {
bool bool
paren_xs::admits_singleassign() const { return false; } paren_xs::admits_singleassign() const { return false; }
#ifdef OBSOLETE
bool
paren_xs::admits_leftparen() const { /*unreachable*/ return false; }
#endif
bool bool
paren_xs::admits_rightparen() const { paren_xs::admits_rightparen() const {
switch (parenxs_type_) { switch (parenxs_type_) {