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

Issue with variable initializer list... #15

Open
mischievous opened this issue Nov 23, 2022 · 1 comment
Open

Issue with variable initializer list... #15

mischievous opened this issue Nov 23, 2022 · 1 comment

Comments

@mischievous
Copy link

I have this snippet of code and I keep getting the error "Error: Unexpected '.', while in context=ctxGeneral(1), found at line#624". GCC/Clang both support this with out issue.

void processor64::pipe_thread (void)
{
pipeChannel pipe = {.raw = 0};
}

@satya-das
Copy link
Owner

Designated initializer is C++ 20 feature. CppParser will support this too. As of now, I am busy refactoring that will improve the object model and APIs. After I am done with that I will add a support for this.

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