Issue #271
Indentation issues with doxygen comments
| Status: | New | Start date: | 07/21/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Michael McNamara | % Done: | 0% |
|
| Category: | Indents | |||
| Target version: | - |
Description
Here is a collection of indentation issues I see with Revision 629
// This is an example file to show the indentation errors I see with
// the verilog-mode.
// The assumption is that this file will be included into another
// file defining a module.
initial begin
int unsigned count = 0;
int value; // ERROR #1: value should align with count
string source_str;
end
task begin_trans // ERROR #2 task should align with end
(input int h_stream ///<[in ] Handle of the stream to use
);
endtask : begin_trans
//////////////////////////////////////////////////////////////////////
// ERROR #3 Doxygen inline comment should not cause this indent
History
Updated by Wilson Snyder almost 2 years ago
Thanks for the report.
Mac, BTW I was going to argue the task is indented properly and it's the initial that is improper, but now that tasks and functions can now be global in SV I guess it makes sense they can be at column zero.
Also, one hackaround is this:
`ifdef NEVER module just_for_emacs; `endif initial ...
Updated by Wilson Snyder over 1 year ago
- Subject changed from Indentation issues to Indentation issues with doxygen comments
Also available in: Atom
![[logo]](/img/veripool_small.png)