This PR redefines how the syntax of declarations, declarators and initializers is parsed. It is mostly compatible with the previous version and mainly cleans up the grammar a bit.
It does however fix a bug where only the first parameter in parameter lists would be added to the params list.
Note for the future: Please avoid the use of grammar fragments at all cost, as they produce nonsensical type hierarchies.
Depends on #19
This PR redefines how the syntax of declarations, declarators and initializers is parsed. It is mostly compatible with the previous version and mainly cleans up the grammar a bit.
It does however fix a bug where only the first parameter in parameter lists would be added to the
params
list.Note for the future: Please avoid the use of grammar
fragment
s at all cost, as they produce nonsensical type hierarchies.