Subversion Repositories tendra.SVN

Rev

Rev 6 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6 Rev 21
Line 282... Line 282...
282
	    } else {
282
	    } else {
283
		error(ERR_WARNING, "Too many arguments");
283
		error(ERR_WARNING, "Too many arguments");
284
	    }
284
	    }
285
	}
285
	}
286
    }
286
    }
-
 
287
 
287
    if (local_input) {
288
    if (local_input) {
288
	if (subset)error(ERR_WARNING, "Too many arguments");
289
	if (subset)error(ERR_WARNING, "Too many arguments");
289
	subset = file;
290
	subset = file;
290
	file = api;
291
	file = api;
291
	api = LOCAL_API;
292
	api = LOCAL_API;
292
    }
293
    }
-
 
294
    if (api == null)
293
    if (api == null)error(ERR_FATAL, "Not enough arguments");
295
	error(ERR_FATAL, "Not enough arguments");
294
    input_dir = string_printf("%s:%s", dir, input_dir);
296
    input_dir = string_printf("%s:%s", dir, input_dir);
-
 
297
 
-
 
298
    if (output_src_len==0 || output_incl_len==0){
-
 
299
	error(ERR_FATAL, "No output directories specified");	    
-
 
300
    }
295
 
301
 
296
    if (preproc_input) {
302
    if (preproc_input) {
297
	/* Open preprocessed input */
303
	/* Open preprocessed input */
298
	if (file != null)error(ERR_WARNING, "Too many arguments");
304
	if (file != null)error(ERR_WARNING, "Too many arguments");
299
	preproc_file = fopen(api, "r");
305
	preproc_file = fopen(api, "r");