summaryrefslogtreecommitdiffstats
path: root/execute.c
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2014-11-28 19:35:29 -0600
committerNicolas Williams <nico@cryptonector.com>2014-11-28 19:35:29 -0600
commit79000644c6fe3a0772e209845efa90e48fceecca (patch)
tree215888c4c53a452fb5ad4c27d57fbf901ecc505b /execute.c
parentb349e7d9a80435e177d383c8ff9d552d15a96723 (diff)
Enable printing of stack val refcnts
Diffstat (limited to 'execute.c')
-rw-r--r--execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/execute.c b/execute.c
index acb42c5c..89fd9728 100644
--- a/execute.c
+++ b/execute.c
@@ -302,7 +302,7 @@ jv jq_next(jq_state *jq) {
param = *stack_block_next(&jq->stk, param);
}
if (!param) break;
- jv_dump(jv_copy(*(jv*)stack_block(&jq->stk, param)), 0);
+ jv_dump(jv_copy(*(jv*)stack_block(&jq->stk, param)), JV_PRINT_REFCOUNT);
//printf("<%d>", jv_get_refcnt(param->val));
//printf(" -- ");
//jv_dump(jv_copy(jq->path), 0);