p4c
p4c copied to clipboard
Generalized array support
First change relaxes frontend checks to allow arrays in general as per https://github.com/p4lang/p4-spec/issues/1320. Non-header arrays only support indexing, not any other header stack operations
Second change adds support for C-style array declarators, with the array size after the name instead of before it.