GNOME Bugzilla – Bug 603238
PATCH The perlmod generation does not produce valid perl source code
Last modified: 2012-11-18 11:11:04 UTC
Created attachment 148659 [details] 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.
Thanks. The patch is already included in the latest subversion update.
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).