summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/report.cc b/src/report.cc
index de13d048..d4158638 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -248,10 +248,11 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
break;
case 'p':
- if (*(p + 1) == '\0' ||
- std::strcmp(p, "print") == 0)
+ if (*(p + 1) == '\0' || std::strcmp(p, "print") == 0)
return WRAP_FUNCTOR
(reporter<>(new format_xacts(*this, FORMAT(print_format))));
+ else if (std::strcmp(p, "push") == 0)
+ return MAKE_FUNCTOR(report_t::ignore);
break;
case 'r':
@@ -344,7 +345,7 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
else if (std::strcmp(p, "date-format_") == 0)
return MAKE_FUNCTOR(report_t::option_date_format_);
else if (std::strcmp(p, "debug_") == 0)
- return MAKE_FUNCTOR(report_t::option_ignore_);
+ return MAKE_FUNCTOR(report_t::ignore);
break;
case 'e':
@@ -440,7 +441,7 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
else if (std::strcmp(p, "tail_") == 0)
return MAKE_FUNCTOR(report_t::option_tail_);
else if (std::strcmp(p, "trace_") == 0)
- return MAKE_FUNCTOR(report_t::option_ignore_);
+ return MAKE_FUNCTOR(report_t::ignore);
break;
case 'u':
@@ -450,9 +451,9 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
case 'v':
if (! *(p + 1) || std::strcmp(p, "verbose") == 0)
- return MAKE_FUNCTOR(report_t::option_ignore);
+ return MAKE_FUNCTOR(report_t::ignore);
else if (std::strcmp(p, "verify") == 0)
- return MAKE_FUNCTOR(report_t::option_ignore);
+ return MAKE_FUNCTOR(report_t::ignore);
break;
case 'w':