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 766698 - VHDL: missing last sign in html documentation of constant declaration
VHDL: missing last sign in html documentation of constant declaration
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.11
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2016-05-20 08:11 UTC by mirco
Modified: 2016-09-05 13:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (570 bytes, patch)
2016-05-22 18:01 UTC, mk
none Details | Review

Description mirco 2016-05-20 08:11:31 UTC
The last sign of the constant declaration is missing in the HTML documentation if there is at least on bracket pair ().

Source:
  constant MEM_ADDR_BITS_NAT_C : natural := 8;
  constant MEM_ADDR_MAX_SLOT_NAT_C : natural := 2**MEM_ADDR_BITS_NAT_C - 1;
  constant MEM_ADDR_MAX_SLOT2_NAT_C : natural := (2**MEM_ADDR_BITS_NAT_C) - 1;
  constant MEM_ADDR_MAX_SLOT3_NAT_C : natural := ((2**MEM_ADDR_BITS_NAT_C) - 1);

HTML output:
Constants
MEM_ADDR_BITS_NAT_C  	natural := 8
MEM_ADDR_MAX_SLOT_NAT_C  	natural := 2 ** MEM_ADDR_BITS_NAT_C - 1
MEM_ADDR_MAX_SLOT2_NAT_C  	natural := ( 2 ** MEM_ADDR_BITS_NAT_C ) -
MEM_ADDR_MAX_SLOT3_NAT_C  	natural := ( ( 2 ** MEM_ADDR_BITS_NAT_C ) - 1

As you can see there is a missing 1 in the third constant declaration output and a missing ) in the fourth constant declaration output. I've checked that the name length has no effect on the output. There must be a parsing problem with brackets there.
The first and the second output are correct because there are no brackets.
Comment 1 mk 2016-05-22 18:01:33 UTC
Created attachment 328358 [details] [review]
patch

patch for this bug
Comment 2 Dimitri van Heesch 2016-05-25 09:23:59 UTC
Thanks, I'll include the patch in the next GIT update.
Comment 3 Dimitri van Heesch 2016-09-05 13:46:01 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.12. 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 (preferably in the form of a self-contained example).