(Verbose): New global var. This used to be an automatic var in
function `SWIG_main', but was deleted (w/o deleting "-v" parsing). (SWIG_main): Set `Verbose' during option parsing. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e0957d51e2
commit
e4f2a35328
1 changed files with 4 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ static char cvsroot[] = "$Header$";
|
|||
char *typemap_lang = 0; // Typemap name
|
||||
int type_id = 0; // Type identifier
|
||||
int error_count = 0; // Error count
|
||||
int Verbose = 0;
|
||||
|
||||
class SwigException {};
|
||||
|
||||
|
|
@ -181,7 +182,9 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
|||
} else if (strcmp(argv[i],"-E") == 0) {
|
||||
cpp_only = 1;
|
||||
Swig_mark_arg(i);
|
||||
} else if ((strcmp(argv[i],"-verbose") == 0) || (strcmp(argv[i],"-v") == 0)) {
|
||||
} else if ((strcmp(argv[i],"-verbose") == 0) ||
|
||||
(strcmp(argv[i],"-v") == 0)) {
|
||||
Verbose = 1;
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-c++") == 0) {
|
||||
CPlusPlus=1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue