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

Decleration of enumerations inside a function #998

Open
michael-michalski opened this issue Sep 26, 2018 · 0 comments
Open

Decleration of enumerations inside a function #998

michael-michalski opened this issue Sep 26, 2018 · 0 comments

Comments

@michael-michalski
Copy link

michael-michalski commented Sep 26, 2018

Following C code
void test() { enum { BUFSIZE = 8000 }; }
results in this error message.

ERROR translating statement 'DeclStmt'
ERROR translating statement 'CompoundStmt'

Looks like the parser does not believe this to be a possible scenario.

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

1 participant