#51 Class end marker recognized only as "end;"

open
nobody
5
2006-01-16
2006-01-16
No

If a class is declared with the following syntax:

TMyClass = class
end {TMyClass};

...the end of the class is not recognized. This just
happens to be the documentation style I used for some
libraries, so I caught it when Doxygen generated
absolutely nothing :-)

Naturally, the workaround is to stop putting
whitespace or comments between the "end" and the
semicolon.

Discussion

  • Darren Bowles
    Darren Bowles
    2006-01-17

    Logged In: YES
    user_id=73730

    Changed parser so that in a class / structure / constant section
    end *;
    would be changed to
    end; *
    and then pushed back for parsing.

    This allows us to have
    end { comments } ;