c/c++ comments parsed incorrectly

c/c++ comments parsed incorrectly

2
NewbieNewbie
2

    Jun 05, 2006#1

    I inherited some C++ code where each routine is preceeded by a block comment in the following style:

    //*******************************************
    /**
    *
    *///****************************************
    main
    (
    int param
    )
    {
    printf("Hello world.");
    }

    UltraEdit highlights all of the code following the block as a comment. Apparently UltraEdit does not parse the "*/" followed by "//" followed by "*" correctly. If I break it up like this, "*/ //*", or this, "*/// *", or even this, "*////*", it highlights OK. But this, "*///*", does not work.

    I'm using UE V10.10c.

    Is there any way for me to edit my wordfile so that UltraEdit parses this correctly?

    6,686585
    Grand MasterGrand Master
    6,686585

      Jun 06, 2006#2

      Yes, v10.10c of UE does not highlight this code example correct. This is not a wordfile problem. This is a problem of the syntax highlighting engine of UltraEdit. With the same wordfile v11.20a and v12.10+3 of UE highlights it correct. You have to upgrade to a newer version of UE or you reformat your comments.
      Best regards from an UC/UE/UES for Windows user from Austria