sedlex icon indicating copy to clipboard operation
sedlex copied to clipboard

Fix location on lexbuf

Open whitequark opened this issue 11 years ago • 0 comments

E.g.:

let x y =
  match%sedlex lexbuf with _ -> assert false

produces this error:

File "_none_", line 1:
Error: Unbound value lexbuf

which is not very helpful.

whitequark avatar Dec 09 '14 23:12 whitequark