depot/third_party/nixpkgs/pkgs/development/ocaml-modules/piqi/no-stream.patch
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

14 lines
317 B
Diff

--- ./piqilib/piq_lexer.ml
+++ ./piqilib/piq_lexer.ml
@@ -476,11 +476,6 @@ let init_from_string s =
make_buf lexbuf
-let init_from_stream s =
- let lexbuf = Sedlexing.Utf8.from_stream s in
- make_buf lexbuf
-
-
let init_from_channel ch =
let lexbuf = Sedlexing.Utf8.from_channel ch in
make_buf lexbuf