{
size_t i;
- dprintf(fd, "TOKEN %p (%d) ", t, t->type);
+ dprintf(fd, "TOKEN %p (%u) ", t, t->type);
if (t->type == PSI_T_EOF) {
dprintf(fd, "EOF");
} else {
dprintf(fd, "\"");
- for (i = 0; i < MIN(t->size, 16); ++i) {
+ for (i = 0; i < t->size; ++i) {
switch (t->text[i]) {
case '\0':
dprintf(fd, "\\0");
break;
}
}
- dprintf(fd, "%s\"", t->size > 16 ? "..." : "");
+ dprintf(fd, "\"");
}
dprintf(fd, " at col %u in %s on line %u\n", t->col, t->file, t->line);
}