Closed cheeze2000 closed 1 year ago
https://github.com/oxidite/oxido/blob/refactor/src/lexer/mod.rs#L353
you shouldn't consume the token before checking whether you should stop the loop, simply peek the token and then consume right before you parse again
https://github.com/oxidite/oxido/blob/refactor/src/lexer/mod.rs#L353
you shouldn't consume the token before checking whether you should stop the loop, simply peek the token and then consume right before you parse again