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:
Dmitry Kabak 2012-07-07 13:43:19 +00:00
commit 293c5cfc1f

View file

@ -5831,6 +5831,10 @@ edecl : ID {
$$ = $2;
set_comment(previousNode, $1);
}
| edecl doxygen_post_comment {
$$ = $1;
set_comment($1, $2);
}
| empty { $$ = 0; previousNode = currentNode; currentNode = 0; }
;