GNOME Bugzilla – Bug 590161
perlmod confuse doc perl array and hash
Last modified: 2010-02-21 12:57:45 UTC
When perl output generated on the following example.c: /*@{*/ #define EXAMPLE (example) /*@}*/ /** \see EXAMPLE */ extern int example; There is a confusing item in the output perl package: doc => [ see => [ { type => 'url', link => 'example_8c_113b633378ea20dff6ff220caedb3e01d', content => 'EXAMPLE' } ] 'doc=>[...]' declared to array, but initialised with a hash 'see => ...'. Perl can process it, hash will separated to key and value and will form an array [key, value] like this: doc->[0] = 'see'; doc->[1] = { ... }; but it is formally incorrect, and hardly processable. Tested with 1.5.9 windows build
Created attachment 139487 [details] full perl output problem at line 28
*** Bug 590159 has been marked as a duplicate of this bug. ***
*** Bug 590160 has been marked as a duplicate of this bug. ***
Sorry for the triple report anomaly.
Hi Laszlo, I assume it is ok if the output is corrected as follows: detailed => { doc => [ { type => 'text', content => 'Some text ' }, { see => [ { type => 'text', content => 'EXAMPLE' } ] } ] },
Should be fixed in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.6.3. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.