We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
source
void* some_function() {}
actual parse tree
translation_unit function_definition type: primitive_type declarator: pointer_declarator declarator: function_declarator declarator: identifier parameters: parameter_list body: compound_statement
actual affinity: void (* some_function) expected affinity: (void *) some_function
void (* some_function)
(void *) some_function
actual vs expected
translation_unit function_definition - type: primitive_type - declarator: pointer_declarator - declarator: function_declarator + type: compound_type + primitive_type + pointer_star + declarator: function_declarator declarator: identifier parameters: parameter_list body: compound_statement
expected parse tree per clang
{ "kind": "FunctionDecl", "name": "some_function", "type": { "qualType": "void *()" }, "inner": [ { "kind": "CompoundStmt", } ] }
same bug in lezer-parser/cpp#3
The text was updated successfully, but these errors were encountered:
rz_type_parse_string_single
Any updates?
Sorry, something went wrong.
No branches or pull requests
source
actual parse tree
actual affinity:
void (* some_function)
expected affinity:
(void *) some_function
actual vs expected
expected parse tree per clang
same bug in lezer-parser/cpp#3
The text was updated successfully, but these errors were encountered: