verible icon indicating copy to clipboard operation
verible copied to clipboard

typedef array of interfaces not supported

Open matlupi opened this issue 1 year ago • 0 comments

Describe the bug

Valid syntax is rejected

To Reproduce

Run

verible-verilog-syntax test.sv

test.sv as follows

interface t_interface;
endinterface

package test;
  typedef virtual t_interface t_vif_array [];
endpackage

Version used

% verible-verilog-syntax --version                          
v0.0-3389-ga1cd07b1
Commit	2023-07-26
Built	2023-07-26T21:32:29Z

Actual behavior:

Code rejected

test.sv:5:43: syntax error at token "["

Expected behavior

Accepted syntax.

matlupi avatar Feb 20 '24 12:02 matlupi