From 815b63fd3a630eb462e7ab9d8af09f19e129a5af Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 9 May 2017 21:04:11 -0400 Subject: Implement -D exec --- bfs.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bfs.h') diff --git a/bfs.h b/bfs.h index d3aa80e..7a41537 100644 --- a/bfs.h +++ b/bfs.h @@ -57,14 +57,16 @@ typedef bool eval_fn(const struct expr *expr, struct eval_state *state); * Various debugging flags. */ enum debug_flags { + /** Print executed command details. */ + DEBUG_EXEC = 1 << 0, /** Print optimization details. */ - DEBUG_OPT = 1 << 0, + DEBUG_OPT = 1 << 1, /** Print rate information. */ - DEBUG_RATES = 1 << 1, + DEBUG_RATES = 1 << 2, /** Trace all stat() calls. */ - DEBUG_STAT = 1 << 2, + DEBUG_STAT = 1 << 3, /** Print the parse tree. */ - DEBUG_TREE = 1 << 3, + DEBUG_TREE = 1 << 4, }; /** -- cgit v1.2.3