lang: ast: suppress debug output by default
This commit is contained in:
12
lang/debug.h
Normal file
12
lang/debug.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _DEBUG_H_
|
||||
#define _DEBUG_H_
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(IVY_LANG_DEBUG)
|
||||
#define debug_printf(...) printf(__VA_ARGS__)
|
||||
#else
|
||||
#define debug_printf(...)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user