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

Problem with verilog-pretty-declarations function and parameter/localparam keywords, fix in attachment #585

Closed
veripoolbot opened this issue Nov 30, 2012 · 1 comment · Fixed by #1800
Labels

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Vasil Dyadov
Original Redmine Issue: 585 from https://www.veripool.org


verilog-pretty-declarations function does not work with next text:

parameter ABC = 1;

but works with next:

parameter integer ABC = 1;

Verilog 1995-2001 std. do not assume parameters to have a type.

Maybe keywords parameter/localparam should be in verilog-declaration-core-re, not in verilog-declaration-prefix-re or in separate regex construction parallel to current verilog-declaration-re?

One of possible solutions attached in a patch.

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-11-19T13:15:05Z


Maybe someone can contribute a patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant