Closed sangisos closed 8 years ago
Function prototypes with unnamed parameters (without idents) are not currently supported, consider adding in future.
Contents of a.c:
a.c
int test(int); int main(void){ return 0; } int test(int a){ return 0; }
$ uparse a.c Parsing "a.c" 2016/04/21 21:47:45 github.com/mewmew/uc/ast/astx.NewVoidParam (astx.go:153): error: invalid void parameter kind; expected Void, got Int
Contents of b.c:
b.c
int test(int,int); int main(void){ return 0; } int test(int a,int b){ return 0; }
$ uparse b.c Parsing "b.c" 2016/04/21 21:36:05 12: unexpected ",", expected [")" "ident"]
Implemented in commit bcfbd0eb0679e895e628dbddbae75eae1fb9cb59.
Function prototypes with unnamed parameters (without idents) are not currently supported, consider adding in future.
Contents of
a.c
:Contents of
b.c
: