diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-09-26 23:30:40 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-09-27 23:57:29 +0200 |
| commit | 204f6f332318056a9b950e71e4a958da0c10ea72 (patch) | |
| tree | 5d7938d9ed44dbe9455d2a88b2ef93a4beef4397 /src/prc1/lit.c | |
| parent | 88d1bca43a8412b285ea2dd54dfa98d08ecc7849 (diff) | |
| download | prc-204f6f332318056a9b950e71e4a958da0c10ea72.tar.gz | |
prc1: Rework arg handling + dbg
Diffstat (limited to 'src/prc1/lit.c')
| -rw-r--r-- | src/prc1/lit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prc1/lit.c b/src/prc1/lit.c index 09528a2..1faf247 100644 --- a/src/prc1/lit.c +++ b/src/prc1/lit.c @@ -1,3 +1,4 @@ +#include "dbg.h" #include "lit.h" #include "fn.h" #include "lex.h" @@ -92,8 +93,8 @@ const struct lit *lit_push(const struct tk *tk, struct prv *p) else if (ast->lastlit) ast->lastlit->next = l; + dbg("adding literal \"%s\"\n", name); ast->lastlit = l; - fprintf(stderr, "adding literal \"%s\"\n", name); return l; failure: |
