@@ -100,23 +100,23 @@ class SCILAB:public Language {
100
100
/* Manage command line arguments */
101
101
for (int argIndex = 1 ; argIndex < argc; argIndex++) {
102
102
if (argv[argIndex] != NULL ) {
103
- if (strcmp (argv[argIndex], " -help" ) == 0 ) {
104
- Printf (stdout, " %s\n " , usage);
105
- } else if (strcmp (argv[argIndex], " -builder" ) == 0 ) {
106
- Swig_mark_arg (argIndex);
107
- generateBuilder = true ;
108
- createLoader = false ;
109
- } else if (strcmp (argv[argIndex], " -buildersources" ) == 0 ) {
110
- if (argv[argIndex + 1 ] != NULL ) {
111
- Swig_mark_arg (argIndex);
112
- char *sourceFile = strtok (argv[argIndex + 1 ], " ," );
113
- while (sourceFile != NULL ) {
114
- Insert (sourceFileList, Len (sourceFileList), sourceFile);
115
- sourceFile = strtok (NULL , " ," );
116
- }
117
- Swig_mark_arg (argIndex + 1 );
118
- }
119
- } else if (strcmp (argv[argIndex], " -buildercflags" ) == 0 ) {
103
+ if (strcmp (argv[argIndex], " -help" ) == 0 ) {
104
+ Printf (stdout, " %s\n " , usage);
105
+ } else if (strcmp (argv[argIndex], " -builder" ) == 0 ) {
106
+ Swig_mark_arg (argIndex);
107
+ generateBuilder = true ;
108
+ createLoader = false ;
109
+ } else if (strcmp (argv[argIndex], " -buildersources" ) == 0 ) {
110
+ if (argv[argIndex + 1 ] != NULL ) {
111
+ Swig_mark_arg (argIndex);
112
+ char *sourceFile = strtok (argv[argIndex + 1 ], " ," );
113
+ while (sourceFile != NULL ) {
114
+ Insert (sourceFileList, Len (sourceFileList), sourceFile);
115
+ sourceFile = strtok (NULL , " ," );
116
+ }
117
+ Swig_mark_arg (argIndex + 1 );
118
+ }
119
+ } else if (strcmp (argv[argIndex], " -buildercflags" ) == 0 ) {
120
120
Swig_mark_arg (argIndex);
121
121
if (argv[argIndex + 1 ] != NULL ) {
122
122
Insert (cflags, Len (cflags), argv[argIndex + 1 ]);
@@ -499,7 +499,7 @@ class SCILAB:public Language {
499
499
500
500
/* Set CheckInputArgument and CheckOutputArgument input arguments */
501
501
if (maxOutputArguments < 1 ) {
502
- maxOutputArguments = 1 ;
502
+ maxOutputArguments = 1 ;
503
503
}
504
504
if (minOutputArguments == 1 ) {
505
505
minOutputArguments = 0 ;
@@ -873,9 +873,9 @@ class SCILAB:public Language {
873
873
for (int i = 0 ; i < Len (sourceFileList); i++) {
874
874
String *sourceFile = Getitem (sourceFileList, i);
875
875
if (i == 0 ) {
876
- Printf (builderCode, " files = \" %s\" ;\n " , sourceFile);
876
+ Printf (builderCode, " files = \" %s\" ;\n " , sourceFile);
877
877
} else {
878
- Printf (builderCode, " files($ + 1) = \" %s\" ;\n " , sourceFile);
878
+ Printf (builderCode, " files($ + 1) = \" %s\" ;\n " , sourceFile);
879
879
}
880
880
}
881
881
0 commit comments