aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/lit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prc1/lit.c')
-rw-r--r--src/prc1/lit.c3
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: