summaryrefslogtreecommitdiffstats
path: root/bfs.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-05-09 21:04:11 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-05-09 21:04:11 -0400
commit815b63fd3a630eb462e7ab9d8af09f19e129a5af (patch)
tree97eed9b70784e8e11d4b9c8630b7708be8dc3da7 /bfs.h
parentc8c33b8c44751444729eda6a9fb7d4715928ea43 (diff)
downloadbfs-815b63fd3a630eb462e7ab9d8af09f19e129a5af.tar.xz
Implement -D exec
Diffstat (limited to 'bfs.h')
-rw-r--r--bfs.h10
1 files changed, 6 insertions, 4 deletions
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,
};
/**