#108 Verilog comment-end not recognized

closed-duplicate
None
5
2007-05-27
2005-01-28
J.Chan
No

When a Verilog comment ends with: **/
the end is not recognized.

----- TestComm.v begins { --------
/*
*
**/
module top(outsig, insig);
output outsig;
input insig;
assign outsig = insig;
endmodule
----- TestComm.v ends } --------

ctags TestComm.v
gives an 'empty' tags file.

Changing **/ to * */
and re-running
ctags TestComm.v
gives a good tags file.

Discussion

  • J.Chan

    J.Chan - 2005-01-28

    Logged In: YES
    user_id=1206644

    Also, this works:
    /*
    *
    ***/

    OS info:
    Linux keck 2.4.18-6mdkenterprise #1 SMP Fri Mar 15 02:28:20
    CET 2002 i686 unknown

     
  • J.Chan

    J.Chan - 2005-03-26
    • status: open --> open-duplicate
     
  • J.Chan

    J.Chan - 2005-03-26

    Logged In: YES
    user_id=1206644

    Same as Bug 960316.

     
  • Darren Hiebert

    Darren Hiebert - 2005-05-23
    • assigned_to: nobody --> dhiebert
     
  • Derek Sherlock

    Derek Sherlock - 2006-03-28

    Logged In: YES
    user_id=594064

    I have submitted a patch to fix this. See patch number
    1458042. (Derek Sherlock)

     
  • Derek Sherlock

    Derek Sherlock - 2006-03-28

    Logged In: YES
    user_id=594064

    I have submitted a patch to fix this. See patch number
    1458042. (Derek Sherlock)

     
  • Elliott Hughes

    Elliott Hughes - 2007-05-27

    Logged In: YES
    user_id=1127237
    Originator: NO

    fixed by using the C parser's block comment skipper.

     
  • Elliott Hughes

    Elliott Hughes - 2007-05-27
    • assigned_to: dhiebert --> elliotth
    • status: open-duplicate --> closed-duplicate
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks