cparse_template_expand() incorrectly appended template parameters to all destructor nodes it encountered during the tree traversal, including the dtors of any nested classes. This resulted in WARN_LANG_ILLEGAL_DESTRUCTOR warnings from Language::destructorDeclaration() later and possibly other problems due to not actually wrapping these dtors. Fix this by explicitly checking if the dtor is a child or, to account for %extend, a grandchild of the template node itself before appending template parameters to it. This commit is best viewed with "-w" (ignore whitespace changes) option as it indents, without changing, a block of code. |
||
|---|---|---|
| .. | ||
| 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.