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

PATCH The perlmod generation does not produce valid perl source code (Origin: bugzilla #603238) #3599

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2009-11-28 17:23:45 +0000, gnome@davidhaglund.se wrote:

Created attachment 148659
Script and patch on Doxyfile to trigger the bug, and a patch

How to reproduce:

  • cd doxygen
  • Enabling GENERATE_PERLMOD in Doxyfile (using Doxygen.patch in patch.tgz)
  • Run doxygen on the doxygen source code (version: 1.6.1-200910270, SVN rev: 712):
    bin/doxygen Doxyfile
  • Run the sample script: trigger_bug.pl (provided in patch.tgz)

The output will be:

syntax error at doxygen_docs/perlmod/DoxyDocs.pm line 5140, near "]"
Unmatched right curly bracket at doxygen_docs/perlmod/DoxyDocs.pm line 10722, at end of line
Unmatched right curly bracket at doxygen_docs/perlmod/DoxyDocs.pm line 12847, at end of line
Unmatched right curly bracket at doxygen_docs/perlmod/DoxyDocs.pm line 12980, at end of line
Unmatched right curly bracket at doxygen_docs/perlmod/DoxyDocs.pm line 13069, at end of line
Unmatched right square bracket at doxygen_docs/perlmod/DoxyDocs.pm line 13095, at end of line
Unmatched right curly bracket at doxygen_docs/perlmod/DoxyDocs.pm line 13096, at end of line
Unmatched right square bracket at doxygen_docs/perlmod/DoxyDocs.pm line 13431, at end of line
Unmatched right curly bracket at doxygen_docs/perlmod/DoxyDocs.pm line 13432, at end of line
Unmatched right curly bracket at doxygen_docs/perlmod/DoxyDocs.pm line 13613, at end of line
doxygen_docs/perlmod/DoxyDocs.pm has too many errors.
Compilation failed in require at ../doxygen-patch-files/trigger_bug.pl line 3.

The error can be fixed with the patch in perlmodgen.cpp.patch.

On 2009-12-28 13:01:28 +0000, Dimitri van Heesch wrote:

Thanks. The patch is already included in the latest subversion update.

On 2009-12-30 13:38:43 +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