Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typedef array of interfaces not supported #2114

Open
matlupi opened this issue Feb 20, 2024 · 0 comments
Open

typedef array of interfaces not supported #2114

matlupi opened this issue Feb 20, 2024 · 0 comments
Labels
rejects-valid syntax If the parser wrongly rejects syntactically valid code (according to SV-2017).

Comments

@matlupi
Copy link

matlupi commented Feb 20, 2024

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 matlupi added the rejects-valid syntax If the parser wrongly rejects syntactically valid code (according to SV-2017). label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rejects-valid syntax If the parser wrongly rejects syntactically valid code (according to SV-2017).
Projects
None yet
Development

No branches or pull requests

1 participant