janestreet / sexplib

Automated S-expression conversion
MIT License
147 stars 27 forks source link

Trailing white space cannot be handled? #8

Closed MassD closed 6 years ago

MassD commented 10 years ago

When I try sexplib, it tells me

Sexp.of_string " a";; is correct.

Sexp.of_string "a ";; is wrong.


Please see In StackOverflow, Is trailing white space is forbidden in s-expression? for more details

hhugo commented 6 years ago
Sexp.of_string "a ";;

now works