aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--token.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/token.c b/token.c
index b3673a8..0fe306f 100644
--- a/token.c
+++ b/token.c
@@ -146,6 +146,7 @@ tokendesc(char *buf, size_t len, enum tokenkind kind, const char *lit)
bool quote;
switch (kind) {
+ case TEOF: class = "EOF"; break;
case TIDENT: class = "identifier"; quote = true; break;
case TNUMBER: class = "number"; quote = true; break;
case TCHARCONST: class = "character"; quote = false; break;