aboutsummaryrefslogtreecommitdiff
path: root/cc.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-13 12:30:28 -0700
committerMichael Forney <mforney@mforney.org>2019-05-13 12:30:28 -0700
commit5485302b9578f94bded1f4995707ac1792b299af (patch)
tree5a4c23a83cd9ff1e22eb56e53bdead672c15ff71 /cc.h
parenta77759d74709ac0ebe7d2243c9d4e95d972c4b73 (diff)
Use enum type for expect argument
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 03ae663..7d85355 100644
--- a/cc.h
+++ b/cc.h
@@ -375,7 +375,7 @@ void ppinit(const char *);
void next(void);
_Bool peek(int);
-char *expect(int, const char *);
+char *expect(enum tokenkind, const char *);
_Bool consume(int);
/* type */