Commit 26133e13 authored by POTTIER Francois's avatar POTTIER Francois

Clarify a comment.

parent 4601ad21
......@@ -30,9 +30,10 @@ module PreliminaryMake (X : sig
val f: channel
(* [locate_stretches] controls the way we print OCaml stretches (types and
semantic actions). If it is [Some filename], then we surround them with
OCaml line number directives of the form # <line number> <filename>. If
it is [None], then we don't. *)
semantic actions). If it is [Some dstfilename], where [dstfilename] is
the name of the file that is being written, then we surround stretches
with OCaml line number directives of the form # <line number> <filename>.
If it is [None], then we don't. *)
(* Providing line number directives allows the OCaml typechecker to report
type errors in the .mly file, instead of in the generated .ml / .mli
......
......@@ -20,9 +20,10 @@ module Make (X : sig
val f: out_channel
(* [locate_stretches] controls the way we print OCaml stretches (types and
semantic actions). If it is [Some filename], then we surround them with
OCaml line number directives of the form # <line number> <filename>. If
it is [None], then we don't. *)
semantic actions). If it is [Some dstfilename], where [dstfilename] is
the name of the file that is being written, then we surround stretches
with OCaml line number directives of the form # <line number> <filename>.
If it is [None], then we don't. *)
(* Providing line number directives allows the OCaml typechecker to report
type errors in the .mly file, instead of in the generated .ml / .mli
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment