[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  SystemPerl
  Voneline
  WFH
General Info
  Papers

Issue #271

Indentation issues with doxygen comments

Added by Scott Roland almost 3 years ago. Updated about 1 year ago.

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 3 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 almost 3 years ago

  • Subject changed from Indentation issues to Indentation issues with doxygen comments

Also available in: Atom