xo-reader2: formatting + asserts
This commit is contained in:
parent
3f8a57cef5
commit
1e83e9aaba
9 changed files with 47 additions and 39 deletions
|
|
@ -733,13 +733,18 @@ namespace xo {
|
|||
bool
|
||||
DDefineSsm::pretty(const ppindentinfo & ppii) const
|
||||
{
|
||||
auto expr = FacetRegistry::instance().variant<APrintable,AExpression>(def_expr_);
|
||||
auto expr
|
||||
= FacetRegistry::instance().variant<APrintable,
|
||||
AExpression>(def_expr_);
|
||||
assert(expr.data());
|
||||
(void)expr;
|
||||
|
||||
return ppii.pps()->pretty_struct
|
||||
(ppii,
|
||||
"DDefineSsm",
|
||||
refrtag("defstate", defstate_),
|
||||
refrtag("def_expr", expr));
|
||||
refrtag("def_expr", expr)
|
||||
);
|
||||
}
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue