caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Ocaml parser reports strange syntax-error position.
@ 2013-06-05  9:49 Matej Kosik
  2013-06-05  9:52 ` Romain Bardou
  0 siblings, 1 reply; 3+ messages in thread
From: Matej Kosik @ 2013-06-05  9:49 UTC (permalink / raw)
  To: caml-list

Hi,

If I type this to the Ocaml toplevel:

  Printf "%d" 10;;

The actual problem is that instead of "Printf" I should have typed "Printf.printf".

However, the parser complains about literal "10".

Is this the expected behavior or a bug (in parser's error-reporting routines)?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-09 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-05  9:49 [Caml-list] Ocaml parser reports strange syntax-error position Matej Kosik
2013-06-05  9:52 ` Romain Bardou
2013-07-09 20:50   ` Goswin von Brederlow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).