swig/SWIG/Source/Swig
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Matthias Köppe 0ebf3b7caa The pretty printer gets confused by comments including unbalanced
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@688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:17:10 +00:00
..
.cvsignore 1/28/00 : loic 2000-01-29 01:06:10 +00:00
copyright Initial revision 2000-01-06 23:01:08 +00:00
cwrap.c Fixed default value problem. 2000-08-20 01:23:45 +00:00
getopt.c Major cleanup of comments 2000-01-20 05:45:58 +00:00
include.c Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days. 2000-08-14 22:09:56 +00:00
Makefile.in Eliminated old typemap/except code. Variety of minor bug fixes throughout. 2000-08-15 18:29:23 +00:00
map.c Eliminated old typemap/except code. Variety of minor bug fixes throughout. 2000-08-15 18:29:23 +00:00
misc.c Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days. 2000-08-14 22:09:56 +00:00
naming.c Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days. 2000-08-14 22:09:56 +00:00
parms.c Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days. 2000-08-14 22:09:56 +00:00
scanner.c Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days. 2000-08-14 22:09:56 +00:00
stype.c Added missing return type to pointer conversion function. 2000-08-18 19:44:10 +00:00
swig.h Lots of cleanup 2000-08-17 05:08:26 +00:00
swig.i (NewString): Take DOH *' instead of char *'. 2000-03-31 00:59:40 +00:00
tree.c Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days. 2000-08-14 22:09:56 +00:00
typemap.c Restored the Python module. Lots of minor fixes and cleanup 2000-08-16 21:47:36 +00:00
wrapfunc.c The pretty printer gets confused by comments including unbalanced 2000-08-23 20:17:10 +00:00