aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/tmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prc1/tmp.c')
-rw-r--r--src/prc1/tmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prc1/tmp.c b/src/prc1/tmp.c
index c93443f..a08716b 100644
--- a/src/prc1/tmp.c
+++ b/src/prc1/tmp.c
@@ -1,4 +1,5 @@
#include "tmp.h"
+#include "dbg.h"
#include "type.h"
#include <stddef.h>
#include <stdio.h>
@@ -58,7 +59,7 @@ const struct stentry *tmp_create(struct fn *fn, const struct type *t)
break;
}
- fprintf(stderr, "\tcreating temporary variable %s, type %s\n", s, tname);
+ dbg("\tcreating temporary variable %s, type %s\n", s, tname);
free(tname);
return &tmp->e;