summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/piqi/no-stream.patch
blob: fde1c46cce42bbe3940d454c51a5d60cde35d417 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ./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