New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commented class inside of conditional statement (PHP) (Origin: bugzilla #567346) #3223

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status RESOLVED severity blocker in component general for ---
Reported in version 1.5.8 on platform Other
Assigned to: Dimitri van Heesch

On 2009-01-11 10:13:18 +0000, Jitka Koukalova wrote:

Please describe the problem:
When documented class is defined inside of conditional statement, doxygen freezes when parsing this source file. This bug is probably related to bug # 549674.

Steps to reproduce:

  1. svn co
  2. try to generate documentation with doxygen 1.5.8

Actual results:
Following files are causing doxygen freeze (no coredump) when parsing them (links points to line numbers with conditional statements - when these if() conditions are removed, docs are generated properly):

Expected results:

Does this happen every time?
Happens every time.

Other information:

On 2009-01-11 10:28:34 +0000, Jitka Koukalova wrote:

I forgot to mention environment: FreeBSD 6.2-RELEASE

On 2009-01-12 10:14:59 +0000, Jitka Koukalova wrote:

I tried to downgrade doxygen port and this bug exists also in versions, 1.5.7, 1.5.6_1 and 1.5.6. Doxygen version 1.5.5 works ok.

On 2009-10-11 10:02:59 +0000, Dimitri van Heesch wrote:


You can work around the issue by putting

// stop parsing if we don't make progress
if (parseMore && position==inputPosition) parseMore=FALSE;


if (parseMore) position=inputPosition; else position=0;

in function parseCommentBlock() in commentscan.l

The exact reason why the comment parser gets stuck is not yet clear to me.

On 2009-11-10 19:51:45 +0000, Dimitri van Heesch wrote:

*** Bug 600635 has been marked as a duplicate of this bug. ***

On 2009-12-30 13:38:32 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.6.2. Please verify if this is indeed the case and reopen the
bug if you think it is not fixed (include any additional information that you
think can be relevant).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment