you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 4 months ago

This would also work:

while (!(Peek() == '*' && PeekAhead() == '/') && !IsAtEnd())
  • source
  • parent