Previously, the newlines in "///" doxygen comments were being stripped out, resulting in incorrect translation of the comments for Python and Java. During scanning, "///" comments are processed line by line, whereas "/*" style get processed as a block with newlines intact. The fix checks for the "///" style in scanner.c and manually adds a newline at the end of each comment line. Some extra logic is also added to properly handle empty "///" comments and ensure that a newline gets added for those, which would otherwise be skipped. |
||
|---|---|---|
| .. | ||
| cparse.h | ||
| cscanner.c | ||
| parser.y | ||
| templ.c | ||
| util.c | ||