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
"end" not indented correctly after replication with variable number #1237
Comments
Original Redmine Comment I think it's getting mistaken for a constraint. Might you be able to try a fix? Here's another
|
Original Redmine Comment Wilson Snyder wrote:
My elisp isn't nearly up for this! |
Original Redmine Comment This commit fixes the test-case.
I'm not particularly happy with some of the code in this area. The function @verilog-at-constraint-p@ is pretty precarious (really, all of the constraint detection code is difficult, and it spans most of the indent code). I find that it's very easy to get stuck in infinite loops with minor changes in this area. I also notice a pretty deep/expensive code path that's called 2x per indentation, and certain portions are called increasingly more often as the number of @{}@ pairs increases in a statement. Something is awry, but more investigation will have to wait for another day... |
yes, it still exists some issues in @verilog-at-constraint-p like this: @veripoolbot |
|
Author Name: David Rogoff
Original Redmine Issue: 1237 from https://www.veripool.org
Original Assignee: Alex Reed
I've been hitting this a long time but am finally reporting it. If I use a variable for the replication count, the following line doesn't indent correctly. Here's an example with the correct indentation and 2 examples of bad indentation.
The text was updated successfully, but these errors were encountered: