syn icon indicating copy to clipboard operation
syn copied to clipboard

Is it possible to peek for `EOF`?

Open ModProg opened this issue 2 years ago • 0 comments

I need to check if I'm at the end of the input or in front of some delimiter, to parse in a certain way. Checking for the delimiter works perfectly with peek2 but I cannot check if I'm at the end of the input with peeking.

ModProg avatar Apr 19 '22 20:04 ModProg