xo-parser: simplify: drop unused expraction

This commit is contained in:
Roland Conybeare 2024-08-01 13:40:09 +10:00
commit 992de108ca
2 changed files with 4 additions and 0 deletions

View file

@ -97,6 +97,7 @@ namespace xo {
return os;
}
#ifdef OBSOLETE
enum class expractiontype {
invalid = -1,
@ -149,6 +150,7 @@ namespace xo {
x.print(os);
return os;
}
#endif
class exprstatestack;

View file

@ -76,6 +76,7 @@ namespace xo {
return "???";
}
#ifdef OBSOLETE
const char *
expractiontype_descr(expractiontype x) {
switch(x) {
@ -101,6 +102,7 @@ namespace xo {
os << xtag("type", action_type_);
os << ">";
}
#endif
bool
exprstate::admits_definition() const {