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
This commit fixes an edge case tokenizer bug, where a - completely empty, not even whitespace - _block comment_, would be tokenized as a docblock.
Without this commit, the `/**/` code snippet was tokenized as:
```
8 | L07 | C 1 | CC 0 | ( 0) | T_DOC_COMMENT_OPEN_TAG | [ 4]: /**/
9 | L07 | C 5 | CC 0 | ( 0) | T_DOC_COMMENT_CLOSE_TAG | [ 0]:
```
With the fix applied, it will be tokenized as:
```
8 | L07 | C 1 | CC 0 | ( 0) | T_COMMENT | [ 4]: /**/
```
0 commit comments