single or double quotes, like in this interface file:
-------------
%typemap(perl5, check) size_t *SIZE_T_VECTORINOUT
{
/* NEXT LINE AND REST OF WRAPPER WILL BE MISSING. */
/* Do nothing (don't check for NULL pointer) */
}
void x(size_t *SIZE_T_VECTORINOUT);
-------------
The code tries to find the end of the character/string constant. When
it reaches EOF, nothing will get emitted because no \n is seen.
This is a change to emit the last line of a string. But the pretty
printer probably should be fixed to handle comments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| copyright | ||
| cwrap.c | ||
| getopt.c | ||
| include.c | ||
| Makefile.in | ||
| map.c | ||
| misc.c | ||
| naming.c | ||
| parms.c | ||
| scanner.c | ||
| stype.c | ||
| swig.h | ||
| swig.i | ||
| tree.c | ||
| typemap.c | ||
| wrapfunc.c | ||