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

Parse error in variadic macros #192

Open
skcho opened this issue Apr 20, 2020 · 2 comments
Open

Parse error in variadic macros #192

skcho opened this issue Apr 20, 2020 · 2 comments

Comments

@skcho
Copy link

skcho commented Apr 20, 2020

Hello. I encountered a parsing error on variadic macros.

$ verifast -c test.c
test.c
test.h(2,13-16): Parse error: Macro definition syntax error

test.h

void goo (int x, ...);
#define foo(...) goo (__VA_ARGS__)

test.c:

#include "test.h"

I would like to ask if there is something I am missing, e.g. command line options.

@btj
Copy link
Member

btj commented Apr 20, 2020

I'm afraid you're not missing anything. These are not yet supported.

@skcho
Copy link
Author

skcho commented Apr 21, 2020

@btj Isee. Thank you for your quick answer.

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