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

For multi-dimensional arrays, it cannot be parsed normally, and an error is reported #21

Open
techthon opened this issue Apr 6, 2022 · 0 comments

Comments

@techthon
Copy link

techthon commented Apr 6, 2022

struct some_struct {
    uint8   field_1;
    char    field_2[2][SOME_CONSTANT];
    char    field_3[field_1 & 1 * 5];  // Some random expression to calculate array length
    Example field_4[2];
};

char field_2 [2][SOME_CONSTANT];
image

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