summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWormHeamer2025-08-03 22:01:25 -0400
committerWormHeamer2025-08-03 22:01:25 -0400
commit487e48e985c6fa6762454af661f666fbe77fcdd1 (patch)
treee463ab7394d64fdd701c0c6d8d71409583220053
parenta49e785e8536acd6d5ff2c6bebf8d9902d2f3620 (diff)
comment out some debug printfs
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index f0af5e0..1a4a6d1 100644
--- a/main.c
+++ b/main.c
@@ -120,12 +120,12 @@ Proc *parse_proc(Lexer *l, Unit *u) {
}
int type_check(Node *n) {
- fprintf(stderr, "::\n");
+ /*fprintf(stderr, "::\n");
for (int i = 0; i < n->in.len; i++) {
fprintf(stderr, "%d: %d/%d\n", i,
n->in.data[i]->val.type.lvl,
n->in.data[i]->val.type.t);
- }
+ }*/
switch (n->type) {
case N_OP_NEG:
n->val.type = (Type) { .lvl = T_TOP, .t = T_INT };