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 668167 - doxygen breaks on unbalanced quotes in comments
doxygen breaks on unbalanced quotes in comments
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.6
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-01-18 11:10 UTC by Mathieu Malaterre
Modified: 2012-01-23 14:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathieu Malaterre 2012-01-18 11:10:08 UTC
When creating dependency graphs using dot, quotes are not escaped during
writing of the .dot file.  Trying to document this piece of code

//! unbalanced " quote
class t {
};

class t2 : t {
};

has doxygen break with the following error:

Warning: /tmp/doxy/html/inherit__graph__0.dot:6: string ran past end of line
Error: /tmp/doxy/html/inherit__graph__0.dot:7: syntax error near line 7
context:   Node1 >>>  -> <<<  Node2 [dir=back,color="firebrick4",fontsize="10",style="solid",fontname="FreeSans.ttf"];
Problems running dot: exit code=1, command='dot', arguments='"/tmp/doxy/html/inherit__graph__0.dot" -Tpng -o "/tmp/doxy/html/inherit__graph__0.png" -Tcmapx -o "/tmp/doxy/html/inherit__graph__0.map"'
finished...

Cheers,
Comment 1 Dimitri van Heesch 2012-01-22 09:07:24 UTC
Hi Mathieu,

I can reproduce the problem with version 1.7.5, not no longer with 1.7.6. There the quote is properly escaped.

Can you re-check if you used version 1.7.6 or later?
Comment 2 Mathieu Malaterre 2012-01-23 14:42:50 UTC
Yes, this is fixed in 1.7.6, thanks much !