From 7d1630227e3a0f35f3aa2c688474a742f23fdd05 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Fri, 29 Sep 2023 12:00:26 +0200 Subject: Forgot that windows requires files to open in binary mode --- bin/qsp_parser.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/qsp_parser.ml') diff --git a/bin/qsp_parser.ml b/bin/qsp_parser.ml index 3980ad5..8ce4d4c 100644 --- a/bin/qsp_parser.ml +++ b/bin/qsp_parser.ml @@ -72,7 +72,7 @@ let () = let file_names, filters = Args.parse () in let file_name = List.hd file_names in - let ic = Stdlib.open_in file_name in + let ic = Stdlib.open_in_bin file_name in (*let lexer = Lexing.from_channel ~with_positions:true ic in*) let lexer = -- cgit v1.2.3