You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Used by next, peek and back - returns substring and new position
/// If forward, places pointer at the next non-whitespace character.
/// If backward, places pointer at the start of the current word.
Needs a test to validate this.
And I don't think that the "previous lexeme"/back functionality is used anyway. Anyway - where back() is used, we can probably use peek() instead.
The text was updated successfully, but these errors were encountered:
Generally need tests for the
lexer
module.next_word
inparser/lexer/mod.rs
:Needs a test to validate this.
And I don't think that the "previous lexeme"/back functionality is used anyway.Anyway - where back() is used, we can probably use peek() instead.The text was updated successfully, but these errors were encountered: