summaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-25 04:32:39 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-25 04:40:03 -0500
commit72aa0e0e442442b2d08af4e42c281beeeb5ea3af (patch)
tree3fd6a50e0e628049a8c900021da740318632da84 /src/query.cc
parent2c90c10db17a1e379639f2aa5e7c47fcb351d9f7 (diff)
downloadfork-ledger-72aa0e0e442442b2d08af4e42c281beeeb5ea3af.tar.gz
fork-ledger-72aa0e0e442442b2d08af4e42c281beeeb5ea3af.tar.bz2
fork-ledger-72aa0e0e442442b2d08af4e42c281beeeb5ea3af.zip
Added some debugging code related to boost::regex
Diffstat (limited to 'src/query.cc')
-rw-r--r--src/query.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/query.cc b/src/query.cc
index 2d6085fa..cfa321b0 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -337,7 +337,9 @@ query_t::parser_t::parse_query_term(query_t::lexer_t::token_t::kind_t tok_contex
}
expr_t::ptr_op_t mask = new expr_t::op_t(expr_t::op_t::VALUE);
+ DEBUG("query.mask", "Mask from string: " << *tok.value);
mask->set_value(mask_t(*tok.value));
+ DEBUG("query.mask", "Mask is: " << mask->as_value().as_mask().str());
node->set_left(ident);
node->set_right(mask);