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 433630 - Quoted, hyphened words in brief description break dot file generation
Quoted, hyphened words in brief description break dot file generation
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.2
Other Mac OS
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2007-04-26 15:52 UTC by Roch Gadsdon
Modified: 2007-07-27 09:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Doxygen config file (9.61 KB, application/octet-stream)
2007-04-26 15:53 UTC, Roch Gadsdon
Details

Description Roch Gadsdon 2007-04-26 15:52:51 UTC
If you have a two word phrase...

- In quotes
- With a hyphen 
- In a \brief description

... Doxygen hits problems when generating the call graphs. It looks as if Dot ends up trying to interpret the quoted text.

Here is the code:

/*! 
** @brief Hyphen in quotes causes bug "word-otherword" 
*/
extern int FirstFunc
(
	int iErr
); 


extern int Other
(
	int iYouknow
)
{
	FirstFunc(26);

	return 109;
}

Here is the Doxy log:

Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for files to exclude
Searching for files to process...
Searching for files in directory /Users/rochg/doxybugtest
Reading and parsing tag files
Preprocessing /Users/rochg/doxybugtest/doxybugtest.c...
Parsing file /Users/rochg/doxybugtest/doxybugtest.c...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Searching for included using directives...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Searching for members imported via using declarations...
Building example list...
Searching for enumerations...
Searching for documented variables...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Creating members for template instances...
Computing class relations...
Searching for member function documentation...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding todo/test/bug list items...
Generating style sheet...
Counting data structures...
Resolving user defined references...
Combining using relations...
Finding anchors and sections in the documentation...
Generating index page...
Generating example documentation...
Generating file sources...
Generating code for file /Users/rochg/doxybugtest/doxybugtest.c...
Generating file documentation...
Generating docs for file /Users/rochg/doxybugtest/doxybugtest.c...
Generating call graph for function Other
Error: doxybugtest_8c_06e603ba3490802dae73a7c9a6559445_cgraph.dot:8: syntax error near line 8
context:   Node2 [label="FirstFunc",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$doxybugtest_8c.html#783b58212c6568cbb87873fdc1dc797b",tooltip="Hyphen in quotes causes bug >>>  "word- <<< otherword"."];
Problems running dot: exit code=6, command='/Applications/Doxygen.app/Contents/Resources/dot', arguments='"doxybugtest_8c_06e603ba3490802dae73a7c9a6559445_cgraph.dot" -Tpng -o "doxybugtest_8c_06e603ba3490802dae73a7c9a6559445_cgraph.png"'
Generating page documentation...
Generating group documentation...
Generating group index...
Generating class documentation...
Generating annotated compound index...
Generating hierarchical class index...
Generating member index...
Generating graphical class hierarchy...
Generating namespace index...
Generating namespace member index...
Generating graph info page...
Generating file index...
Generating example index...
Generating file member index...
Generating page index...
*** Doxygen has finished

Doxyfile is attached.
Comment 1 Roch Gadsdon 2007-04-26 15:53:27 UTC
Created attachment 87069 [details]
Doxygen config file
Comment 2 Roch Gadsdon 2007-04-26 15:55:11 UTC
Just to clarify, if you remove the hyphen from the attached code, Doxygen runs through cleanly.
Comment 3 Dimitri van Heesch 2007-04-29 14:30:30 UTC
Confirmed. This bug should be fixed in the next CVS update.
Comment 4 Dimitri van Heesch 2007-07-27 09:22:40 UTC
This bug was marked ASSIGNED and as a result has been moved to the FIXED state with the release of 1.5.3, since I believe the bug has been fixed in this release. I kindly ask you to verify this and reopen the bug should this not be the case.