summaryrefslogtreecommitdiffstats
path: root/bfs.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-06-07 19:16:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2016-06-07 19:16:31 -0400
commit21bd2698e78605917024c99b579f6daae3fb7003 (patch)
tree8b36e65fc9aaea8fd9eb0e6066e96a1d0e2dc703 /bfs.h
parentcbb7cc9bf6d49ba922010f77c06cbea23f8e39de (diff)
downloadbfs-21bd2698e78605917024c99b579f6daae3fb7003.tar.xz
Implement -D opt.
Diffstat (limited to 'bfs.h')
-rw-r--r--bfs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/bfs.h b/bfs.h
index 13865fe..f6f120d 100644
--- a/bfs.h
+++ b/bfs.h
@@ -52,10 +52,12 @@ typedef bool eval_fn(const struct expr *expr, struct eval_state *state);
* Various debugging flags.
*/
enum debugflags {
+ /** Print optimization details. */
+ DEBUG_OPT = 1 << 0,
/** Trace all stat() calls. */
- DEBUG_STAT = 1 << 0,
+ DEBUG_STAT = 1 << 1,
/** Print the parse tree. */
- DEBUG_TREE = 1 << 1,
+ DEBUG_TREE = 1 << 2,
};
/**