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

can't parse variadic function #134

Closed
shi-yan opened this issue Oct 21, 2021 · 1 comment
Closed

can't parse variadic function #134

shi-yan opened this issue Oct 21, 2021 · 1 comment

Comments

@shi-yan
Copy link

shi-yan commented Oct 21, 2021

example:

void simple_printf(const char* fmt, ...)
{}

result:

(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration (type_qualifier) type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement)))

the variadic arguments are missing from the result

@jdrouhard
Copy link
Collaborator

Duplicate of #31

@jdrouhard jdrouhard marked this as a duplicate of #31 Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants