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

Parens in decltype(int) have unexpected tokenization #100

Closed
alexr00 opened this issue Apr 16, 2019 · 3 comments
Closed

Parens in decltype(int) have unexpected tokenization #100

alexr00 opened this issue Apr 16, 2019 · 3 comments
Assignees
Labels
🐛 Bug Something isn't working

Comments

@alexr00
Copy link

alexr00 commented Apr 16, 2019

I would expect that the tokenization would end with the punctuation name:

image

@matter123 matter123 added the 🐛 Bug Something isn't working label Apr 16, 2019
@jeff-hykin
Copy link
Owner

I see, this was intentional, but I believe I misinterpreted the following issues as wanting the parentheses to be part of the match.
microsoft/vscode-cpptools#938
atom/language-c#246

We'll remove both keyword.operator.functionlike.cpp and storage.type.decltype.cpp from the ()'s

@matter123
Copy link
Collaborator

Fixed in 1.8.2

@alexr00
Copy link
Author

alexr00 commented Apr 17, 2019

Looks good, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants