p4c icon indicating copy to clipboard operation
p4c copied to clipboard

Generalized array support

Open ChrisDodd opened this issue 3 weeks ago • 3 comments

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.

ChrisDodd avatar Jan 30 '25 01:01 ChrisDodd