This comment is different from what code does. Maybe it should say:

```
               // Check whether the token type is "tag" and possibly another type (e.g. "tag error", "tag brackets")
 ```