From 5485302b9578f94bded1f4995707ac1792b299af Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 13 May 2019 12:30:28 -0700 Subject: Use enum type for expect argument --- cc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc.h') 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 */ -- cgit v1.2.3