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 120708 - Having: "'"''"'" somewhere in your code stops doxygen from processing
Having: "'"''"'" somewhere in your code stops doxygen from processing
Status: VERIFIED INCOMPLETE
Product: doxygen
Classification: Other
Component: general
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2003-08-25 23:21 UTC by Jesse Janzer
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jesse Janzer 2003-08-25 23:21:15 UTC
I found this issue when trying to get doxygen to parse my php page, finding
that it would parse everything up until I got to a line like this:

$foo = "TABLE.field='".$bar['var']."'";

which boils down to "'"''"'"
READ:
double-quote,single-quote,double-quote,single-quote,single-quote,double-quote,single-quote

All data is processed normally until it hits one of these strings, at which
point it seems to bail out of processing with no warning. This happens on
any type of file, I verified it by creating a sample C file with the same
string, it produced the what I expected.

I am using doxygen 1.3.2
sid/debian linux 2.4.20, intel P3

Below is a full sample of the how to recreate the bug (producing only html
information for main() and not foo()):
/*! \file test.c
** \brief foobar
**
*/

/*!
**
** test
*/
int main(){
return 2;
}

/*!
** foo is a function
*/
int foo(){
return 3;
}
Comment 1 Jesse Janzer 2003-08-25 23:23:50 UTC
correction main() is supposed to look like this (sorry):
int main(){
"'"''"'"
return 2;
}
Comment 2 Dimitri van Heesch 2003-09-04 20:02:37 UTC
 Could you check if this bug is still present in the latest CVS 
update? 
Comment 3 Jesse Janzer 2003-09-14 18:08:54 UTC
I updated to the latest cvs version last night (09-13-03), and the bug
is still reproducible.
Version: 1.3.3-20030904
Comment 4 Dimitri van Heesch 2003-09-14 21:13:55 UTC
The example with the main() function indeed leads to parse problems,
but this is not a valid C/C++ file so that is ok. The original PHP
fragment does seem to get through doxygen without problems. Maybe you
can construct a piece of valid C/C++/PHP code that still does not
work?
Comment 5 Dimitri van Heesch 2004-12-29 10:53:21 UTC
I've recently fixed some '"' related issues. This should probably fix this bug
as well, so I'm closing it. Feel free to reopen it if this is not the case.