GNOME Bugzilla – Bug 120708
Having: "'"''"'" somewhere in your code stops doxygen from processing
Last modified: 2009-08-15 18:40:50 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; }
correction main() is supposed to look like this (sorry): int main(){ "'"''"'" return 2; }
Could you check if this bug is still present in the latest CVS update?
I updated to the latest cvs version last night (09-13-03), and the bug is still reproducible. Version: 1.3.3-20030904
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?
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.