1 # if regular doxycomment add a @{
2 # at next empty line add a //@}
12 # if the line is not an empty line
17 # I guess it was not a group, dump savebuffer
20 print "/**" . $savebuffer . "\n";
22 # if it is a class or brief then output the line but
23 # do not start a group
24 if ( /(\\class|\\brief)/ )
28 # must be a group so start saving
31 $savebuffer = "$1" . "\n";
40 # add to save buffer if in group
43 $savebuffer = $savebuffer . $_ . "\n";
47 # non empty line that is not the start of a doxy comment
53 $semicount = $semicount + 1;
57 $endbracecount = $endbracecount + 1;
61 $endparencount = $endparencount + 1;
68 if($endparencount > 1 && ($semicount > 1 || $endbracecount > 1))
70 print "/**@\{" . $savebuffer . "//@}\n\n";
74 print "/**" . $savebuffer . "\n";