set the feature:immutable at the parsing stage, such that it can be used with rename

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-16 00:52:44 +00:00
commit fa47d6befe

View file

@ -378,6 +378,9 @@ static void add_symbols(Node *n) {
if (SwigType_isconst(rt)) {
SetFlag(n,"hasconsttype");
}
if (!SwigType_ismutable(rt)) {
SetFlag(n,"feature:immutable");
}
Delete(rt);
}
if (!type) {