scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 4aa31926c882067cf65c9230e9cfa61d575ae1aa
parent 6aec731e498f8c7994c24f88b036fa942f05d796
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 18 Jan 2017 17:46:08 +0100

Remove first parameter of DBG()

This first parameter was disallowing use of DBG() without a second
parameter.

Diffstat:
Minc/cc.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/cc.h b/inc/cc.h @@ -3,7 +3,7 @@ #ifndef NDEBUG extern int debug; -#define DBG(fmt, ...) dbg(fmt, __VA_ARGS__) +#define DBG(...) dbg(__VA_ARGS__) #define DBGON() (debug = 1) #else #define DBG(...)