diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-05-09 21:04:11 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-05-09 21:04:11 -0400 |
commit | 815b63fd3a630eb462e7ab9d8af09f19e129a5af (patch) | |
tree | 97eed9b70784e8e11d4b9c8630b7708be8dc3da7 /bfs.h | |
parent | c8c33b8c44751444729eda6a9fb7d4715928ea43 (diff) | |
download | bfs-815b63fd3a630eb462e7ab9d8af09f19e129a5af.tar.xz |
Implement -D exec
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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, }; /** |