-
-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Populate the
Token.end_*
fields for ignored tokens (#1309)
Lexer callbacks can make use of the `Token.end_*` fields too, even for Ignored tokens. Always populate them. This preserves the behavior where `Token` objects are only created if they are used.
- Loading branch information
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters