-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Token: avoid unnecessary lookups in update_property_info()
and added unit tests for it
#7369
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
Conversation
74d74c9
to
d4f2034
Compare
update_property_info()
and added unit test for itupdate_property_info()
and added unit tests for it
d0b0be7
to
73773fe
Compare
This comment was marked as resolved.
This comment was marked as resolved.
before:
after:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you fix the spelling then feel free to merge
lib/token.cpp
Outdated
tokType(eKeyword); | ||
update_property_isStandardType(); | ||
if (mTokType != eType) // cannot be a control-float keyword when it is a type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
control-float => control-flow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
No description provided.