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

Fix indentation of instances and declarations after 'begin' #1782

Merged
merged 1 commit into from Jul 11, 2022

Conversation

gmlarumbe
Copy link
Contributor

Hi,

While working on PR #1780 I noticed that a declaration that should get aligned for indent_replicate.v actually did not. After a bit of debugging I found the issue was caused by the declaration being right after the begin keyword if verilog-indent-lists was set to t (its default value).

I applied part of the changes of 2adbba2 also for verilog-indent-lists set to t and it happened to also fix the indent_genmod.v test mentioned in #1163. Even though that issue shows as closed it seems this test was still broken, but it would be nice if it could be confirmed.

Thanks!

* verilog-mode.el (verilog-beg-of-statement-1):
Fix indentation of instances and declarations right after 'begin'

Signed-off-by: Gonzalo Larumbe <gonzalomlarumbe@gmail.com>
@gmlarumbe gmlarumbe requested a review from wsnyder July 11, 2022 17:04
@gmlarumbe gmlarumbe merged commit d276b87 into veripool:master Jul 11, 2022
gmlarumbe added a commit that referenced this pull request Jul 11, 2022
Signed-off-by: Gonzalo Larumbe <gonzalomlarumbe@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants