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
The scanner keeps a buffer `commentBuf` which contains the content of
the comment being parsed. When encountering a `/`, we check whether this
is the beginning of a comment. Checking this adds the slash to the
buffer. If this wasn't a comment, the buffer wasn't emptied, and the
slash would still be there and would be prepended to the next comment.
This commit fixes this by emptying the buffer when we detect that the
slash wasn't the start of a comment.
Fixes#5482
0 commit comments