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

Imporve[indent]: to behind of delay ctrl of assignment #1883

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

my2817
Copy link

@my2817 my2817 commented Nov 3, 2024

Improved indention of multiline assignment with delay control.

Copy link
Member

@wsnyder wsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, please update to support spaces after #.

Comment on lines +6 to +8
a <= #1 b |
c |
d;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
a <= #1 b |
c |
d;
a <= #1 b |
c |
d;
a <= # 1 b |
c |
d;

@@ -7242,7 +7242,7 @@ Only look at a few lines to determine indent level."
(verilog-beg-of-statement-1)
(let ((val
(if (and (< (point) here)
(verilog-re-search-forward "=[ \t]*" here 'move)
(verilog-re-search-forward "=[ \t]*\\(#[0-9]+[ \t]*\\)?" here 'move)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(verilog-re-search-forward "=[ \t]*\\(#[0-9]+[ \t]*\\)?" here 'move)
(verilog-re-search-forward "=[ \t]*\\(#[ \t]*[0-9]+[ \t]*\\)?" here 'move)

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.

2 participants