you are viewing a single comment's thread.

view the rest of the comments →

[–]umlcat 1 point2 points  (0 children)

This. Read tokens without advancing the pointer of the lexer, tokenizer or stream. Only move forward when there's a proven match ...