swig/Source
Dave Beazley ecd8d72ef5 Modified the preprocessor to allow identifiers to start with "%". This is highly experimental
(I may take it out), but I have this idea that you might be able to create new SWIG directives
as C preprocessor macros.

For example:

#define %check(type) %typemap(check) type

%check(int positive) {
   if ($source < 0) error("hey, what's with this?");
}

(In reality, I think that this feature may allow me to reduce the parser to a smaller
set of more primitive directives that will simplify some of the code maintenance).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:00:55 +00:00
..
DOH Fixed bugs reported by Purify. 2000-09-01 15:50:55 +00:00
Include Changed the handling of types in parameter lists and removed the %val 2000-07-20 20:26:17 +00:00
LParse Work in progress 2000-07-06 21:23:29 +00:00
Modules Removed the WrapperFunction class entirely. Everything uses the C version. 2000-07-10 21:52:58 +00:00
Modules1.1 Fixed broken inheritance in shadow classes. 2000-09-20 20:20:18 +00:00
Preprocessor Modified the preprocessor to allow identifiers to start with "%". This is highly experimental 2000-09-26 03:00:55 +00:00
Swig Fixed infinite loop on enum. 2000-09-19 16:40:54 +00:00
SWIG1.1 Modified -l option so that library files are included at the end again. The earlier 2000-09-20 02:23:38 +00:00
.cvsignore 1/28/00 : loic 2000-01-29 01:06:10 +00:00