Made swig strip out all structural comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c592e0db51
commit
a9cdb000ba
1 changed files with 9 additions and 10 deletions
|
|
@ -3469,19 +3469,18 @@ doxygen_comment_item : DOXYGENSTRING {
|
||||||
DohReplace($1, "//!", "", 0);
|
DohReplace($1, "//!", "", 0);
|
||||||
DohReplace($1, "*/", "", 0);
|
DohReplace($1, "*/", "", 0);
|
||||||
|
|
||||||
/* isStructuralDoxygen() is disabled, since no comment
|
/* Throw out all structural comments */
|
||||||
appears in such case. Need to fix. (most commands are
|
if (isStructuralDoxygen($1)) {
|
||||||
not translatable to javadoc anyway) */
|
Delete($1);
|
||||||
if(0 && isStructuralDoxygen($1)){
|
$1 = 0;
|
||||||
$$ = new_node("doxycomm");
|
|
||||||
set_comment($$, $1);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$$ = $1;
|
|
||||||
}
|
}
|
||||||
|
$$ = $1;
|
||||||
}
|
}
|
||||||
| doxygen_comment_item doxygen_comment_item {
|
| doxygen_comment_item doxygen_comment_item {
|
||||||
Append($1, $2);
|
if ($1)
|
||||||
|
Append($1, $2);
|
||||||
|
else
|
||||||
|
$1 = $2;
|
||||||
$$ = $1;
|
$$ = $1;
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue