Explorar el Código

output which argument is being processed when an invalid class name is encountered (closes #2145)

Simon Krajewski hace 12 años
padre
commit
d271713fc0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      main.ml

+ 2 - 1
main.ml

@@ -160,7 +160,8 @@ let make_path f =
 		| _ -> cl
 	) in
 	let error() =
-		let msg =
+		let msg = "Could not process argument " ^ f in
+		let msg = msg ^ "\n" ^
 			if String.length f == 0 then
 				"Class name must not be empty"
 			else match (List.hd (List.rev cl)).[0] with