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 /eval.c | |
parent | cbb7cc9bf6d49ba922010f77c06cbea23f8e39de (diff) | |
download | bfs-21bd2698e78605917024c99b579f6daae3fb7003.tar.xz |
Implement -D opt.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -908,6 +908,9 @@ int eval_cmdline(const struct cmdline *cmdline) { } if (cmdline->optlevel >= 3 && cmdline->expr->eval == eval_false) { + if (cmdline->debug & DEBUG_OPT) { + fputs("-O3: skipping evaluation of top-level -false\n", stderr); + } return 0; } |