summaryrefslogtreecommitdiff
path: root/tokenizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tokenizer.c')
-rw-r--r--tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokenizer.c b/tokenizer.c
index abf6477..032085a 100644
--- a/tokenizer.c
+++ b/tokenizer.c
@@ -145,7 +145,7 @@ static void fprint_token(FILE *out, Token *t) {
fprintf(out, "keyword: %s", keywords[t->kw]);
break;
case TOKEN_IDENT:
- fprintf(out, "identifier: %ld:", t->ident->id);
+ fprintf(out, "identifier: %p: ", (void*)t->ident);
fprint_ident(out, t->ident);
break;
case TOKEN_NUM_LITERAL: