aboutsummaryrefslogtreecommitdiff
path: root/cc.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-04-17 13:54:48 -0700
committerMichael Forney <mforney@mforney.org>2019-04-17 13:54:48 -0700
commit88aa3b6891678669548f01a0f87c36a993694320 (patch)
tree1e7b137e6d2e1571f23a9cc95b4b94c492ed1b22 /cc.h
parent652fde3ea5a89d44696991db14c18a851914c3ab (diff)
Improve token descriptions in errors
Diffstat (limited to 'cc.h')
-rw-r--r--cc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc.h b/cc.h
index 25a5fc0..bb5e23b 100644
--- a/cc.h
+++ b/cc.h
@@ -376,8 +376,8 @@ struct init {
extern struct token tok;
void tokprint(const struct token *);
+void tokdesc(char *, size_t, enum tokenkind, const char *);
_Noreturn void error(const struct location *, const char *, ...);
-struct token;
/* scan */