in bij, EOF -> DecodingError

This commit is contained in:
Simon Cruanes 2013-05-15 18:09:24 +02:00
parent 5c11f945b9
commit 44bd29766c

3
bij.ml
View file

@ -452,7 +452,10 @@ module SexpDecode(Source : SOURCE) = struct
let x = decode bij in
decode_list bij (x :: l)
in
try
decode bij
with EOF ->
raise (DecodingError "unexpected EOF")
end
module SexpStr = struct