From 204f6f332318056a9b950e71e4a958da0c10ea72 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 26 Sep 2026 23:30:40 +0200 Subject: prc1: Rework arg handling + dbg --- src/prc1/tmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/prc1/tmp.c') 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 #include @@ -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; -- cgit v1.2.3