Remove old experimental rxspencer encoder and rxsmatch function.
They are replaced with the new, officially supported PCRE-based regex and regexmatch. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
70c5bb5a47
commit
587d843521
6 changed files with 17 additions and 181 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
%warnfilter(SWIGWARN_PARSE_REDEFINED) S_May;
|
||||
|
||||
// %rename with rxspencer can do the equivalent of these two renames, which was resulting in uncompileable code
|
||||
// %rename using regex can do the equivalent of these two renames, which was resulting in uncompileable code
|
||||
%rename(May) M_May;
|
||||
%rename(May) S_May;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
%rename(awk_cmd) "";
|
||||
|
||||
%rename("%(title)s",rxsmatch$parentNode$type="enum .*") "";
|
||||
%rename("%(title)s",regexmatch$parentNode$type="enum .*") "";
|
||||
|
||||
%inline
|
||||
{
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
}
|
||||
|
||||
%rename("%(lowercase)s",sourcefmt="%(rxspencer:[GSL_(.*)][@1])s",%$isfunction) "";
|
||||
%rename("%(lowercase)s",sourcefmt="%(regex:/GSL_(.*)/\\1/)s",%$isfunction) "";
|
||||
%inline {
|
||||
void GSL_Hello() {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue