From a5264f6395ed2e9a628b7bc5b3e96ea4e8394a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 7 Jan 2012 08:21:34 +0100 Subject: [PATCH] Symbol database: dump if --debug and --verbose is given --- lib/tokenize.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index ab8477866..32f644914 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -4004,7 +4004,8 @@ bool Tokenizer::simplifyTokenList() if (_settings->debug) { _tokens->printOut(0, _files); - getSymbolDatabase()->printOut("Symbol database"); + if (_settings->_verbose) + getSymbolDatabase()->printOut("Symbol database"); } if (_settings->debugwarnings) {