xo-parser: simplify: drop expraction.expr_ir_
This commit is contained in:
parent
e013082442
commit
04d3961d24
2 changed files with 14 additions and 17 deletions
|
|
@ -96,23 +96,13 @@ namespace xo {
|
|||
|
||||
expraction
|
||||
expraction::keep() {
|
||||
return expraction(expractiontype::keep,
|
||||
exprir());
|
||||
return expraction(expractiontype::keep);
|
||||
}
|
||||
|
||||
#ifdef OBSOLETE
|
||||
expraction
|
||||
expraction::emit(const exprir & ir) {
|
||||
return expraction(expractiontype::emit,
|
||||
ir);
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
expraction::print(std::ostream & os) const {
|
||||
os << "<expraction";
|
||||
os << xtag("type", action_type_);
|
||||
os << xtag("ir", expr_ir_);
|
||||
os << ">";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue