Experimental contract work.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Tiger Feng 2003-05-21 17:43:05 +00:00
commit de0ac1f10b
3 changed files with 310 additions and 93 deletions

View file

@ -621,9 +621,6 @@ int SWIG_main(int argc, char *argv[], Language *l) {
if (dump_tags) {
Swig_print_tags(top,0);
}
if (dump_tree) {
Swig_print_tree(top);
}
if (top) {
if (!Getattr(top,"name")) {
Printf(stderr,"*** No module name specified using %%module or -module.\n");
@ -656,6 +653,9 @@ int SWIG_main(int argc, char *argv[], Language *l) {
}
}
}
if (dump_tree) {
Swig_print_tree(top);
}
}
if (tm_debug) Swig_typemap_debug();
if (memory_debug) DohMemoryDebug();