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 692031 - Left shift operator in default parameter value ends prototype evaluation.
Left shift operator in default parameter value ends prototype evaluation.
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-01-18 19:36 UTC by Adam Shapiro
Modified: 2013-01-22 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Examples of working and broken prototypes. (988 bytes, application/octet-stream)
2013-01-18 19:36 UTC, Adam Shapiro
Details

Description Adam Shapiro 2013-01-18 19:36:49 UTC
Created attachment 233786 [details]
Examples of working and broken prototypes.

After some testing I discovered a weird corner case where using a left shift operator (<<) in a default value calculation prematurely ends the function prototype evaluation done to create the details section and apply @params. This only happens for left shifted values not in parentheses (e.g. 1<<4). Right shift does not have the same behavior. If the value is placed in parentheses it is processed properly.

I've attached an example.
Comment 1 Dimitri van Heesch 2013-01-19 12:27:43 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2013-01-20 13:35:05 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.3.1. 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.
Comment 3 Adam Shapiro 2013-01-22 13:32:25 UTC
Fix verified. Thanks.