From d05ebf8bed8ac45b50263c85ce1c0d2327d66d55 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 9 Mar 2020 01:58:39 -0700 Subject: token: Rename some functions --- pp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pp.c') diff --git a/pp.c b/pp.c index a92ee26..e62845f 100644 --- a/pp.c +++ b/pp.c @@ -136,8 +136,8 @@ expect(enum tokenkind kind, const char *msg) char *lit, want[64], got[64]; if (tok.kind != kind) { - tokdesc(want, sizeof(want), kind, NULL); - tokdesc(got, sizeof(got), tok.kind, tok.lit); + tokendesc(want, sizeof(want), kind, NULL); + tokendesc(got, sizeof(got), tok.kind, tok.lit); error(&tok.loc, "expected %s %s, saw %s", want, msg, got); } lit = tok.lit; -- cgit v1.2.3