swig/Source/CParse
William S Fulton e2454484ba 1)
%feature improvements for the syntax that takes the feature value within the
            %feature() brackets. The value specified is no longer restricted to being just
            a string. It can be a string or a number. For example, this is now acceptable
            syntax:
              %feature("featurename",20.0);
            whereas previously it would have to have been:
              %feature("featurename","20.0");
            Useful for features that are implemented as a macro, for example:
              #define %somefeature(value)      %feature("somefeature",value)
            These will now work accepting either a string or a number:
              %somefeature("Fred");
              %somefeature(4);

2)
            %feature enhancements. Features can now take an unlimited number of attributes
            in addition to the feature name and feature value. The attributes are optional
            and are much the same as the typemap attributes. For example, the following
            specifies two optional attributes, attrib1 and attrib2:

             %feature(featurename, attrib1="attribval1", attrib2="attribval2") name "val";
             %feature(featurename, val, attrib1="attribval1", attrib2="attribval2") name;


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:48:57 +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 Fixes for compilation by the Digital Mars Compiler. Submitted by Scott Michel. 2004-02-20 22:51:47 +00:00
parser.y 1) 2004-06-27 20:48:57 +00:00
templ.c Fragments can now be "type especialized", as the typemaps. The 2004-03-17 08:01:06 +00:00
util.c Added the warning code 2004-01-15 08:16:53 +00:00