summaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-25 14:20:07 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-25 14:20:07 -0500
commite8a14d31b6aefe421796fca1e50f4ea1e3816536 (patch)
tree77ccfc5c88c9569b9ad02790c754d8d498b7240b /src/query.cc
parent98ea23cd59cf959f3561632cc38043ab2d89f164 (diff)
parenta3338a2a67a793ddbbc1b0f93901d9a978dc1a8c (diff)
downloadfork-ledger-e8a14d31b6aefe421796fca1e50f4ea1e3816536.tar.gz
fork-ledger-e8a14d31b6aefe421796fca1e50f4ea1e3816536.tar.bz2
fork-ledger-e8a14d31b6aefe421796fca1e50f4ea1e3816536.zip
Merge branch 'next'
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);