|
|
@ -246,7 +246,7 @@ def main_impl(all_detector_classes, all_printer_classes): |
|
|
|
number_contracts = 0 |
|
|
|
number_contracts = 0 |
|
|
|
results = [] |
|
|
|
results = [] |
|
|
|
if args.splitted and args.solc_ast: |
|
|
|
if args.splitted and args.solc_ast: |
|
|
|
results = process_files(filenames, args, detector_classes, printer_classes) |
|
|
|
(results, number_contracts) = process_files(filenames, args, detector_classes, printer_classes) |
|
|
|
else: |
|
|
|
else: |
|
|
|
for filename in filenames: |
|
|
|
for filename in filenames: |
|
|
|
(results_tmp, number_contracts_tmp) = process(filename, args, detector_classes, printer_classes) |
|
|
|
(results_tmp, number_contracts_tmp) = process(filename, args, detector_classes, printer_classes) |
|
|
|