gwenn / lemon-rs

LALR(1) parser generator for Rust based on Lemon + SQL parser
The Unlicense
48 stars 10 forks source link

Fix Token type #63

Closed gwenn closed 2 months ago

gwenn commented 2 months ago

For syntax error handling, we need the token value. And to avoid allocating a String for each token, we pass the byte slice. And its lifetime every where...