From c6cda17c9c579b118f13b50f92ce90bfda127411 Mon Sep 17 00:00:00 2001 From: Robin Voetter Date: Sun, 18 Jul 2021 03:08:19 +0200 Subject: [PATCH] Silence unused variable warning --- src/compiler/frontend.fut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/frontend.fut b/src/compiler/frontend.fut index 0e94750..3174ef5 100644 --- a/src/compiler/frontend.fut +++ b/src/compiler/frontend.fut @@ -46,7 +46,7 @@ type token = (token.t, i32, i32) entry frontend_tokenize (input: []u8) (lt: lex_table []): []token = tokenize input lt -entry frontend_num_tokens [n] (tokens: [n]token): i32 = i32.i64 n +entry frontend_num_tokens [n] (_: [n]token): i32 = i32.i64 n entry frontend_parse (tokens: []token) (sct: stack_change_table []) (pt: parse_table []): (bool, []production.t) = let token_types = map (.0) tokens