fixed handling of /******/ comments, added tests for backslash handling, which fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2f77dbc7f4
commit
8d61aae0fb
5 changed files with 106 additions and 18 deletions
|
|
@ -549,6 +549,10 @@ std::string JavaDocConverter::indentAndInsertAsterisks(const string &doc) {
|
|||
}
|
||||
}
|
||||
|
||||
if (indent == 0) { // we can't indent the first line less than 0
|
||||
indent = 1;
|
||||
}
|
||||
|
||||
// Create the first line of Javadoc comment.
|
||||
string indentStr(indent - 1, ' ');
|
||||
string translatedStr = indentStr + "/**";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue