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
To clarify, what we actually need is in addition to parsing a full translation_unit like int a() { x = (const char *[25])y; }, in the same >application parse only the part inside the cast like const char *[25], which is type_descriptor.
So essentially, we would need a way to change the root rule to use at runtime, which isn't really tree-sitter-c specific. I wonder if >that is even theoretically possible with how the code generator works.
The text was updated successfully, but these errors were encountered:
Inspired by the issue in C grammar: tree-sitter/tree-sitter-c#65
The text was updated successfully, but these errors were encountered: