Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve GDScript identifier tokenization #73226

Merged

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Feb 13, 2023

Makes potential_identifier() exit early if not ascii-only.

Edit: Was unsure if the token being created before pushing errors was important, so kept that order.

Copy link
Member

@dalexeev dalexeev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me.

modules/gdscript/gdscript_tokenizer.cpp Show resolved Hide resolved
@adamscott adamscott modified the milestones: 4.1, 4.2 Jun 17, 2023
@adamscott
Copy link
Member

Pushed to 4.2 milestone, as this is an enhancement PR and as we're in 4.1 feature freeze. Though, as it seems to be a good one, I added it to the list of PRs to team review to not forget it.

Copy link
Member

@adamscott adamscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by the GDScript team during our PR review meeting.

@YuriSizov YuriSizov changed the title Improvements to GDScript identifier tokenization Improve GDScript identifier tokenization Jul 31, 2023
@YuriSizov YuriSizov merged commit 62b4643 into godotengine:master Jul 31, 2023
@AThousandShips AThousandShips deleted the gdscript_tok_improvement branch July 31, 2023 19:10
@YuriSizov
Copy link
Contributor

Thanks!

@AThousandShips
Copy link
Member Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants