xo-parser: drop expractiontype::emit

This commit is contained in:
Roland Conybeare 2024-08-01 12:57:42 +10:00
commit e013082442
2 changed files with 3 additions and 22 deletions

View file

@ -87,10 +87,6 @@ namespace xo {
return "?invalid";
case expractiontype::keep:
return "keep";
case expractiontype::emit:
return "emit";
//case expractiontype::pop:
//return "pop";
case expractiontype::n_expractiontype:
break;
}
@ -104,26 +100,12 @@ namespace xo {
exprir());
}
#ifdef OBSOLETE
expraction
expraction::emit(const exprir & ir) {
return expraction(expractiontype::emit,
ir);
}
#ifdef OBSOLETE
expraction
expraction::pop(const exprir & ir) {
return expraction(expractiontype::pop,
ir);
}
#endif
#ifdef OBSOLETE
expraction
expraction::pop() {
return expraction(expractiontype::pop,
exprir());
}
#endif
void