Added a new invariant check and the fixes required to make it pass. Not the new check is by no means exaustive (it doesn't even check every readonly pointer) but it should catch the most common/problematic cases. (details)
Revert "remove push/pop from KR_parameter_list and typedef_declaration" (details)
Repeat "remove push/pop from KR_parameter_list and typedef_declaration" (details)
This may fix the excessive 'struct _IO_FILE;' declarations. I still don't know how to replicate it on my machine. (details)
Commit
b7c53a9de3b2c69e7ae86f96b2157dd3de16e3b9
by ajbeach
Added a new invariant check and the fixes required to make it pass. Not the new check is by no means exaustive (it doesn't even check every readonly pointer) but it should catch the most common/problematic cases.