Mercurial > hg-old > index.cgi
diff src/lwasm.c @ 39:efa19ec69df9
tweaked debugging system for expression handler
author | lost |
---|---|
date | Sat, 03 Jan 2009 19:20:44 +0000 |
parents | 9bd584bb6296 |
children | 4bb7b723e5b7 |
line wrap: on
line diff
--- a/src/lwasm.c Sat Jan 03 04:53:49 2009 +0000 +++ b/src/lwasm.c Sat Jan 03 19:20:44 2009 +0000 @@ -193,7 +193,8 @@ va_start(args, fmt); if (debug_level >= level) { - fprintf(stderr, "DEBUG %d: ", level); + if (level > 0) + fprintf(stderr, "DEBUG %d: ", level); vfprintf(stderr, fmt, args); fputc('\n', stderr); }