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

VHDL: missing last sign in html documentation of constant declaration (Origin: bugzilla #766698) #6007

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 1.8.11 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2016-05-20 08:11:31 +0000, mirco wrote:

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 := 2MEM_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.

On 2016-05-22 18:01:33 +0000, mk wrote:

Created attachment 328358
patch

patch for this bug

On 2016-05-25 09:23:59 +0000, Dimitri van Heesch wrote:

Thanks, I'll include the patch in the next GIT update.

On 2016-09-05 13:46:01 +0000, Dimitri van Heesch wrote:

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).

@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