Added support for commenting the last enum item in parser.y
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
93a02cc728
commit
293c5cfc1f
1 changed files with 4 additions and 0 deletions
|
|
@ -5831,6 +5831,10 @@ edecl : ID {
|
||||||
$$ = $2;
|
$$ = $2;
|
||||||
set_comment(previousNode, $1);
|
set_comment(previousNode, $1);
|
||||||
}
|
}
|
||||||
|
| edecl doxygen_post_comment {
|
||||||
|
$$ = $1;
|
||||||
|
set_comment($1, $2);
|
||||||
|
}
|
||||||
| empty { $$ = 0; previousNode = currentNode; currentNode = 0; }
|
| empty { $$ = 0; previousNode = currentNode; currentNode = 0; }
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue