Getting rid of one more Obj.magic :)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4806 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
3652bd03d9
commit
f13bd42464
|
@ -320,7 +320,7 @@ let bscanf ib (fmt : ('a, Scanning.scanbuf, 'c) format) f =
|
|||
let lim = String.length fmt - 1 in
|
||||
|
||||
let return v = Obj.magic v () in
|
||||
let delay f x () = Obj.magic f x in
|
||||
let delay f x () = f x in
|
||||
let stack f = delay (return f) in
|
||||
|
||||
let rec scan spc f i =
|
||||
|
|
Loading…
Reference in New Issue