diff options
author | Michael Forney <mforney@mforney.org> | 2020-03-09 01:58:39 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2020-03-16 02:21:13 -0700 |
commit | d05ebf8bed8ac45b50263c85ce1c0d2327d66d55 (patch) | |
tree | ce74a43b6b0d09892f0b10690a8872b71d72af6d /pp.c | |
parent | fd836460ae1f1879bd27cff2e4a60d29ab24de43 (diff) |
token: Rename some functions
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |