GNOME Bugzilla – Bug 320975
multiple line separator ( \ ) is not recognized
Last modified: 2006-01-03 13:01:31 UTC
I use C++ language. I use often the multi line separator to split into different line i.e. class declarations as the following: class MyClass { public: MyClass(const int & i = 0, const char * myLongStringParameter = \ MyClass::DEFAULT_STRING_PARAMETER); }; MyClass::MyClass (const int& i = 0, const char *myLongStringParameter = \MyClass::DEFAULT_STRING_PARAMETER); }; So, the character \ is not recognized by Doxygen.
Correct. The preprocessor should have stripped them. I'll fix this in the next CVS update. But I do really wonder why you use line separators at places where it is not at all needed?
Backslashes aren't working as continuation lines for #define's either. doxygen gets about halfway through vile's estruct.h before becoming totally confused. Here's the macro where it gets lost: #define NEXT_COLUMN(col, c, list, tabs) \ (((c) == '\t' && !(list)) \ ? ((col) + (tabs) - ((col) % tabs)) \ : ( (isPrint(c)) \ ? ((col) + 1) \ : ((col) + (((c) & HIGHBIT) ? 4 : 2)))) What sort of regression testing are you doing?
This bug had the status ASSIGNED (which meant it was fixed, but not officially released), so now doxygen release 1.4.6 is out I've given it the status FIXED. Nevertheless, I would like to ask you to verify that this bug is indeed fixed in release 1.4.6. If not, then please reopen the bug.
I retested and found that neither of the cases I listed here and in 134216 have changed.