After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590159 - perlmod confuse doc perl array and hash
perlmod confuse doc perl array and hash
Status: RESOLVED DUPLICATE of bug 590161
Product: doxygen
Classification: Other
Component: general
1.5.9
Other Windows
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2009-07-29 16:12 UTC by laszlo simon
Modified: 2009-07-29 16:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description laszlo simon 2009-07-29 16:12:16 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
Comment 1 laszlo simon 2009-07-29 16:24:24 UTC

*** This bug has been marked as a duplicate of 590161 ***