Skip to content

Commit 4b51c3f

Browse files
authored
Fix in Topcommon for 4.14.x system compiler (#297)
(cherry picked from commit 4fad442) (cherry picked from commit 956f9fd)
1 parent 228d1f0 commit 4b51c3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

toplevel/topcommon.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ let read_input_default prompt buffer len =
234234
Buffer.add_char phrase_buffer c;
235235
incr i;
236236
if c = '\n' then raise Exit;
237-
done
237+
done;
238+
assert false (* CR mshinwell: can be deleted under a newer system OCaml *)
238239
with
239240
| End_of_file ->
240241
(!i, true)

0 commit comments

Comments
 (0)