aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/end.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-09-26 23:30:40 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2026-09-27 23:57:29 +0200
commit204f6f332318056a9b950e71e4a958da0c10ea72 (patch)
tree5d7938d9ed44dbe9455d2a88b2ef93a4beef4397 /src/prc1/end.c
parent88d1bca43a8412b285ea2dd54dfa98d08ecc7849 (diff)
downloadprc-204f6f332318056a9b950e71e4a958da0c10ea72.tar.gz
prc1: Rework arg handling + dbg
Diffstat (limited to 'src/prc1/end.c')
-rw-r--r--src/prc1/end.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prc1/end.c b/src/prc1/end.c
index b9ad790..561c981 100644
--- a/src/prc1/end.c
+++ b/src/prc1/end.c
@@ -1,4 +1,5 @@
#include "end.h"
+#include "dbg.h"
#include "errloc.h"
#include "fn.h"
#include "stmt.h"
@@ -75,6 +76,6 @@ int end(const struct lex *l, struct prv *p)
pos->seq = pos->stseq = stmts;
pos->step = stmts->steps;
p->stk = p->tk;
- fprintf(stderr, "\t\tadding end statement, block index %zu\n", bl_i);
+ dbg("\t\tadding end statement, block index %zu\n", bl_i);
return 1;
}