xo-reader: fix hardwired debug flag
This commit is contained in:
parent
1d40b5da55
commit
20b105d909
7 changed files with 20 additions and 15 deletions
|
|
@ -68,8 +68,7 @@ namespace xo {
|
|||
exprstate::on_def_token(const token_type & tk,
|
||||
parserstatemachine * p_psm)
|
||||
{
|
||||
constexpr bool c_debug_flag = true;
|
||||
scope log(XO_DEBUG(c_debug_flag));
|
||||
scope log(XO_DEBUG(p_psm->debug_flag()));
|
||||
|
||||
log && log(xtag("exstype", p_psm->top_exprstate().exs_type()));
|
||||
|
||||
|
|
@ -357,8 +356,7 @@ namespace xo {
|
|||
exprstate::on_input(const token_type & tk,
|
||||
parserstatemachine * p_psm)
|
||||
{
|
||||
constexpr bool c_debug_flag = true;
|
||||
scope log(XO_DEBUG(c_debug_flag));
|
||||
scope log(XO_DEBUG(p_psm->debug_flag()));
|
||||
log && log(xtag("tk", tk));
|
||||
log && log(xtag("state", *this));
|
||||
log && log(xtag("psm", p_psm));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue