Skip to content

Commit

Permalink
fix compilation notice with latest V (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Jan 2, 2024
1 parent 061e53a commit 16087e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsql/earley.v
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ fn parse(tokens []Token) !Stmt {
mut columns := tokenize_earley_columns(tokens)
mut grammar := get_grammar()

q0 := parse_earley(grammar['<preparable statement>'], mut columns)!
q0 := parse_earley(unsafe { grammar['<preparable statement>'] }, mut columns)!

trees := build_trees(q0)
if trees.len == 0 {
Expand Down

0 comments on commit 16087e3

Please sign in to comment.