xo-reader: integer arithmetic + parser + pretty-printing adds
This commit is contained in:
parent
12f5362b4d
commit
d39235c619
15 changed files with 209 additions and 14 deletions
|
|
@ -16,5 +16,19 @@ namespace xo {
|
|||
return p->pretty_print(ppii);
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct ppdetail<const xo::scm::exprstatestack*> {
|
||||
static inline bool print_pretty(const ppindentinfo & ppii, const xo::scm::exprstatestack * p) {
|
||||
return p->pretty_print(ppii);
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct ppdetail<xo::scm::exprstate*> {
|
||||
static inline bool print_pretty(const ppindentinfo & ppii, const xo::scm::exprstate * p) {
|
||||
return p->pretty_print(ppii);
|
||||
}
|
||||
};
|
||||
} /*namespace print*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue