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 674842 - Unmatched quote in inline comment breaking aliases
Unmatched quote in inline comment breaking aliases
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.0
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-04-26 04:22 UTC by Travis
Modified: 2012-07-12 15:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
source + input filter + config (24.80 KB, application/x-zip-compressed)
2012-05-05 15:10 UTC, Travis
Details

Description Travis 2012-04-26 04:22:53 UTC
This is probably going to sound weird (and after the four hours of hunting it took to figure out what in the hell was going on), I *believe* I've identified a bug with an unmatched quote in an inline comment breaking user-defined alias recognition. Normal doxygen commands continue to function as expected, but after the line of the unmatched quotation mark, all defined aliases stopped functioning. I tested *only* this change to confirm.

But first, some caveats; we're an LDMud coded in LPC, and we're running doxygen with our .c files aliased to java, as it's helped resolve some issues we've had with differences between C and LPC. The inline comment is reproduced below:

/* exit messages used to be printed here;
		Now, they're printed by the "exit_room_message function
		which is called in /obj/living/movement.c
		
		Done to resolve issues with exit messages printing, then
		player movement being stopped by a hook.
		Misery, November 2011*/

I can provide more information as needed, but hopefully this will be enough to reproduce the error as we've been able to reliably reproduce it in additional files. For reference:

Our only defined aliases are:
ALIASES                = "usage{1}=@par Usage:\n@code\n\1@endcode" \
                         "synopsis{1}=@par Synopsis:\n@code\n\1@endcode"

and a typical usage example is:

@usage{
	add_door(ROOM+"door1.c", ROOM+"door2.c");
	add_door(ROOM+"door2.c", ROOM+"door1.c");
}
Comment 1 Dimitri van Heesch 2012-05-05 09:23:45 UTC
Can you please attach a self-contained example (source+config file in a tar or zip) that allows me to reproduce the problem? that will make it so much easier for me to analyse the problem.
Comment 2 Travis 2012-05-05 15:10:18 UTC
Created attachment 213494 [details]
source + input filter + config
Comment 3 Akhil Laddha 2012-06-18 16:15:22 UTC
Information provided.
Comment 4 Dimitri van Heesch 2012-06-27 19:35:15 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 5 Dimitri van Heesch 2012-07-12 15:41:49 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.1.2. 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.