From 66771adf76cc5053701f86262640e5c411e91c05 Mon Sep 17 00:00:00 2001 From: objwyh Date: Fri, 7 Oct 2022 17:26:14 +0800 Subject: [PATCH] fix typo Signed-off-by: objwyh --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 5cf2beeee..2737d31dc 100644 --- a/main.c +++ b/main.c @@ -30,7 +30,7 @@ static void error(char *fmt, ...) { exit(1); } -// Consumes the current token if it matches `s`. +// Consumes the current token if it matches `op`. static bool equal(Token *tok, char *op) { return memcmp(tok->loc, op, tok->len) == 0 && op[tok->len] == '\0'; }