diff options
author | John Hodge <tpg@mutabah.net> | 2017-08-19 22:14:06 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-08-19 22:14:06 +0800 |
commit | d1fb1334516a6d5297a7d94881d815043f8862d5 (patch) | |
tree | db6e7044e13abfa95168fff607b9129b665d5dd2 /src/parse | |
parent | 1f43a2f620521b7324923912228cf4bf13624bd0 (diff) | |
download | mrust-d1fb1334516a6d5297a7d94881d815043f8862d5.tar.gz |
Parse - Disable debug accidentally left enabled
Diffstat (limited to 'src/parse')
-rw-r--r-- | src/parse/lex.cpp | 4 | ||||
-rw-r--r-- | src/parse/tokenstream.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/parse/lex.cpp b/src/parse/lex.cpp index 69d2b1c0..1fa0729f 100644 --- a/src/parse/lex.cpp +++ b/src/parse/lex.cpp @@ -15,8 +15,8 @@ #include <typeinfo> #include <algorithm> // std::count #include <cctype> -#define TRACE_CHARS -#define TRACE_RAW_TOKENS +//#define TRACE_CHARS +//#define TRACE_RAW_TOKENS Lexer::Lexer(const ::std::string& filename): m_path(filename.c_str()), diff --git a/src/parse/tokenstream.cpp b/src/parse/tokenstream.cpp index 7b8fa532..901312a3 100644 --- a/src/parse/tokenstream.cpp +++ b/src/parse/tokenstream.cpp @@ -12,7 +12,7 @@ const bool DEBUG_PRINT_TOKENS = false; //const bool DEBUG_PRINT_TOKENS = true; //#define DEBUG_PRINT_TOKENS debug_enabled("Lexer Tokens") -#define FULL_TRACE +//#define FULL_TRACE TokenStream::TokenStream(): m_cache_valid(false) |