mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-07 03:43:19 +02:00
Consolidating variable dimensions and hierarchy indices into a shared grammar makes all index component forms parse in either context. Check that `+:` and `-:` indexed part selects are rejected as dimensions, and that `[]` and `[$:N]` are rejected as hierarchy indices. These forms were previously excluded by the context-specific grammar rules. Signed-off-by: Lars-Peter Clausen <[email protected]>
6 lines
119 B
JSON
6 lines
119 B
JSON
{
|
|
"type" : "CE",
|
|
"source" : "hier_index_queue_fail.v",
|
|
"iverilog-args" : [ "-g2005-sv" ]
|
|
}
|