-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Doxide fails to parse bit-fields #79
Comments
Thanks for the report @Corristo. It looks like using a brace-initializer with a bitfield, rather than just the bitfield alone, gives a parse error from from tree-sitter-cpp, so this seems to be an upstream issue. Checking the tree-sitter parse on their playground, your example fails to parse: struct Foo {
unsigned char low : 4 {};
unsigned char high : 4 {};
};
whereas removing the brace-initializers seems to work: struct Foo {
unsigned char low : 4;
unsigned char high : 4;
};
Is the documentation appearing correctly for you despite the warning messages? |
The documentation appears to be correct. |
For example, this definition
will cause doxide to print the warning
for both bit-fields.
The text was updated successfully, but these errors were encountered: