swig/Source/CParse
Marcelo Matus 6dceec6fdb Simple patch to allow fragments to include other fragments:
%fragment("Hello","header") "..."

%fragment("Hi","header",fragment="Hello") "..."

the latter fragment will include the first one if is invoked.

more than one fragment can be included at the time, just
keep adding fragment="f1",fragment="f2", etc.

this is used to emulate typemaps reuse, where all the
reusable typemap code is put in a fragment static method,
and then it can be included from another fragment typemap
as needed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-27 23:39:35 +00:00
..
.cvsignore *** empty log message *** 2003-01-22 08:11:51 +00:00
cparse.h Fix for friend declarations, and other 'repeated' declarations. 2004-01-15 03:16:40 +00:00
cscanner.c Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free: 2004-01-15 22:46:07 +00:00
parser.y Simple patch to allow fragments to include other fragments: 2004-01-27 23:39:35 +00:00
templ.c - Normalize the 'Swig_error' calls and formats, before some 2004-01-15 08:33:12 +00:00
util.c Added the warning code 2004-01-15 08:16:53 +00:00