diff options
author | John Hodge <tpg@mutabah.net> | 2015-04-06 15:04:16 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-04-06 15:04:16 +0800 |
commit | cbd6b8129fd5224d7b3a849b02e251a9891af037 (patch) | |
tree | bedad5d4ca7974eb0b215c0f40e64908103ce88a /src/include/debug.hpp | |
parent | 7370c545c179f54e411e9b94664badb0786fa1d1 (diff) | |
download | mrust-cbd6b8129fd5224d7b3a849b02e251a9891af037.tar.gz |
Work on resolving UFCS paths, infinite loop bug in resolve
Diffstat (limited to 'src/include/debug.hpp')
-rw-r--r-- | src/include/debug.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/debug.hpp b/src/include/debug.hpp index 39af8ab0..d11af652 100644 --- a/src/include/debug.hpp +++ b/src/include/debug.hpp @@ -6,7 +6,7 @@ extern int g_debug_indent_level; #ifndef DISABLE_DEBUG -#define INDENT() do { g_debug_indent_level += 1; } while(0) +#define INDENT() do { g_debug_indent_level += 1; assert(g_debug_indent_level<100); } while(0) #define UNINDENT() do { g_debug_indent_level -= 1; } while(0) #define DEBUG(ss) do{ if(debug_enabled()) { debug_output(g_debug_indent_level, __FUNCTION__) << ss << ::std::endl; } } while(0) #else |