minor logging adds
This commit is contained in:
parent
d3ad841806
commit
dc056cbc37
8 changed files with 27 additions and 5 deletions
|
|
@ -26,5 +26,6 @@ namespace xo {
|
|||
return x.pretty_print(ppii);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@
|
|||
|
||||
namespace xo {
|
||||
namespace print {
|
||||
template <>
|
||||
struct ppdetail<xo::scm::Environment> {
|
||||
static bool print_pretty(const ppindentinfo & ppii, const xo::scm::Environment & x) {
|
||||
return x.pretty_print(ppii);
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct ppdetail<xo::scm::LocalEnv> {
|
||||
static bool print_pretty(const ppindentinfo & ppii, const xo::scm::LocalEnv & x) {
|
||||
|
|
|
|||
|
|
@ -12,9 +12,16 @@ namespace xo {
|
|||
namespace print {
|
||||
template <>
|
||||
struct ppdetail<xo::scm::Variable> {
|
||||
static bool print_pretty(const ppindentinfo & ppii, const xo::scm::Expression & x) {
|
||||
static bool print_pretty(const ppindentinfo & ppii, const xo::scm::Variable & x) {
|
||||
return x.pretty_print(ppii);
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct ppdetail<xo::scm::Variable *> {
|
||||
static bool print_pretty(const ppindentinfo & ppii, const xo::scm::Variable * x) {
|
||||
return x->pretty_print(ppii);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue