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 | ||
| DOH | ||
| Doxygen | ||
| Include | ||
| Modules | ||
| Preprocessor | ||
| Swig | ||
| Makefile.am | ||
| README | ||
SWIG Source directory
Source/DOH - A core set of basic datatypes including
strings, lists, hashes, and files. Used
extensively by the rest of SWIG.
Source/Swig - Swig core. Type-system, utility functions.
Source/Preprocessor - SWIG C Preprocessor
Source/CParse - SWIG C Parser (still messy)
Source/Modules - Language modules.
Source/Include - Include files.
Historic directories which may be in CVS, but have been removed:
Source/Modules1.1 - Old SWIG-1.1 modules. Empty.
Source/LParse - Experimental parser. Officially dead
as CParse is more capable.
Source/SWIG1.1 - Old SWIG1.1 core. Completely empty now.