Browse Source

minor logic invert for speedup

Nicolas Cannasse 13 years ago
parent
commit
7d6020d032
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.ml

+ 1 - 1
main.ml

@@ -1065,7 +1065,7 @@ try
 			Codegen.add_meta_field;
 			Codegen.check_remove_metadata;
 		] in
-		List.iter (fun f -> List.iter (f tctx) com.types) type_filters;
+		List.iter (fun t -> List.iter (fun f -> f tctx t) type_filters) com.types;
 		if ctx.has_error then raise Abort;
 		(match !xml_out with
 		| None -> ()