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

When using function prototypes containing struct references the error " ; expected" occurs. #181

Open
GoogleCodeExporter opened this issue Oct 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
Running this code will produce the error " ; expected"

typedef struct {
    int i;
} s1;

s1 * test(void);


What is the expected output? What do you see instead?
I expect no error.


What version of the product are you using? On what operating system?
Windows 7 64bit,   release 2.1

Please provide any additional information below.
I realize a prototype is not needed in interpreted c, however am trying to use 
ported c code containing many prototypes.  Would be nice if this did not 
produce an error so file modification is not necessary.  I can fix by changing 
the last line to this:
s1 * test(void);;      


Original issue reported on code.google.com by [email protected] on 9 May 2013 at 2:29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant