add the label for use inside typemaps

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-27 21:41:03 +00:00
commit 9039ead445
2 changed files with 2 additions and 0 deletions

View file

@ -440,6 +440,7 @@ void emit_action(Node *n, Wrapper *f) {
} else {
Printf(eaction,"catch(%s) {", SwigType_str(et, "&_e"));
}
Replaceall(em,"$exception","_e");
Printv(eaction,em,"\n",NIL);
Printf(eaction,"}\n");
} else {