Skip to content

Commit

Permalink
Silence unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Snektron committed Jul 18, 2021
1 parent 691101a commit c6cda17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/frontend.fut
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6cda17

Please sign in to comment.