mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
in bij, EOF -> DecodingError
This commit is contained in:
parent
5c11f945b9
commit
44bd29766c
1 changed files with 4 additions and 1 deletions
5
bij.ml
5
bij.ml
|
|
@ -452,7 +452,10 @@ module SexpDecode(Source : SOURCE) = struct
|
|||
let x = decode bij in
|
||||
decode_list bij (x :: l)
|
||||
in
|
||||
decode bij
|
||||
try
|
||||
decode bij
|
||||
with EOF ->
|
||||
raise (DecodingError "unexpected EOF")
|
||||
end
|
||||
|
||||
module SexpStr = struct
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue