better-cpp-syntax
better-cpp-syntax copied to clipboard
Regression with tokenization of `alignas()`
Checklist
- [x] This problem exists even with the setting
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
struct alignas(8) Foo {};
alignas is being tokenized to include the parentheses. Other functionlike keywords do not include the parentheses. It looks like this bug was fixed a long time ago but has regressed. vscode is using 1.17.3 from commit e3f51cca7683d2b2b086f889bff586bf9d85eb1f
It looks like:

It should look like:
