From 21bd2698e78605917024c99b579f6daae3fb7003 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 7 Jun 2016 19:16:31 -0400 Subject: Implement -D opt. --- bfs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bfs.h') 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, }; /** -- cgit v1.2.3