xo-expression xo-reader: type unifier + misc improvements
This commit is contained in:
parent
6a7353f689
commit
75b74918b7
31 changed files with 1005 additions and 76 deletions
|
|
@ -36,5 +36,19 @@ namespace xo {
|
|||
}
|
||||
}
|
||||
|
||||
bool
|
||||
ppdetail<xo::scm::parserstatemachine *>::print_pretty(const ppindentinfo & ppii, const xo::scm::parserstatemachine * x)
|
||||
{
|
||||
if (x) {
|
||||
return ppdetail<xo::scm::parserstatemachine>::print_pretty(ppii, *x);
|
||||
} else {
|
||||
if (ppii.upto()) {
|
||||
return ppii.pps()->print_upto("<nullptr>");
|
||||
} else {
|
||||
ppii.pps()->write("<nullptr>");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
} /*namespace print*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue