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:
Dmitry Kabak 2012-08-16 11:35:02 +00:00
commit a9cdb000ba

View file

@ -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 {
if ($1)
Append($1, $2); Append($1, $2);
else
$1 = $2;
$$ = $1; $$ = $1;
} }
; ;