aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/warn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prc1/warn.c')
-rw-r--r--src/prc1/warn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/prc1/warn.c b/src/prc1/warn.c
index 456ce79..93635db 100644
--- a/src/prc1/warn.c
+++ b/src/prc1/warn.c
@@ -1,5 +1,6 @@
#include "warn.h"
#include "cgen.h"
+#include "dbg.h"
#include "parse.h"
#include "prv.h"
#include "stmt.h"
@@ -29,8 +30,8 @@ static int finalize(const struct lex *l, const struct prv *p,
.u.warn.p = *pr
};
- fprintf(stderr, "\t\tadding warn statement with %zu entries%s\n",
- pr->nentries, pr->println ? "" : ", no lf");
+ dbg("\t\tadding warn statement with %zu entries%s\n", pr->nentries,
+ pr->println ? "" : ", no lf");
return 0;
}