You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support multiple declarators in struct member decl
This commit allows struct members to be declared with multiple variables
on the same line, matching standard C syntax. For example:
struct node {
struct node *next, *prev; // Now supported
int value;
};
The fix handles comma-separated declarators by parsing additional
variables after the first one, inheriting the base type while parsing
pointer levels and array dimensions independently for each declarator.
0 commit comments