xo-reader: refactor: mv exprstate.cvt_expr -> define_xs
This commit is contained in:
parent
fccff55001
commit
cbd411bbf8
4 changed files with 20 additions and 15 deletions
|
|
@ -462,6 +462,17 @@ namespace xo {
|
|||
|
||||
assert(false);
|
||||
}
|
||||
|
||||
void
|
||||
define_xs::print(std::ostream & os) const {
|
||||
os << "<define_xs"
|
||||
<< xtag("type", exs_type_);
|
||||
if (def_expr_)
|
||||
os << xtag("def_expr", def_expr_);
|
||||
if (cvt_expr_)
|
||||
os << xtag("cvt_expr", cvt_expr_);
|
||||
os << ">";
|
||||
}
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue