cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 5cb3d6896f7c473a7fc66408114db4511fd9504c
parent 3ef70a33536e77d21e9af8db7d4ab7e9367248f0
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 18 Mar 2020 00:33:07 -0700

token: Handle TEOF in tokendesc

Diffstat:
Mtoken.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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;