summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-20 14:31:09 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-20 14:31:09 +0800
commitcdd3562534e16e8e6678f841958cdcf0c26b267c (patch)
tree2238951f5b458cdd0c0ef404a0884eea1ca8c850 /src/parse
parent204ae53503d18cd02af8ae1ae1277058f84cf142 (diff)
downloadmrust-cdd3562534e16e8e6678f841958cdcf0c26b267c.tar.gz
Debug - Reduce amount of debug spam
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/lex.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/parse/lex.cpp b/src/parse/lex.cpp
index c5b5c11f..ee453579 100644
--- a/src/parse/lex.cpp
+++ b/src/parse/lex.cpp
@@ -20,8 +20,9 @@
#include <typeinfo>
#include <algorithm> // std::count
-//const bool DEBUG_PRINT_TOKENS = false;
-const bool DEBUG_PRINT_TOKENS = true;
+const bool DEBUG_PRINT_TOKENS = false;
+//const bool DEBUG_PRINT_TOKENS = true;
+//#define DEBUG_PRINT_TOKENS debug_enabled("Lexer Tokens")
Lexer::Lexer(const ::std::string& filename):
m_path(filename.c_str()),