diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-06-07 19:16:31 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-06-07 19:16:31 -0400 |
commit | 21bd2698e78605917024c99b579f6daae3fb7003 (patch) | |
tree | 8b36e65fc9aaea8fd9eb0e6066e96a1d0e2dc703 /bfs.h | |
parent | cbb7cc9bf6d49ba922010f77c06cbea23f8e39de (diff) | |
download | bfs-21bd2698e78605917024c99b579f6daae3fb7003.tar.xz |
Implement -D opt.
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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, }; /** |