documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5230 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
faff950d11
commit
c3e4b3c6dd
|
@ -76,9 +76,8 @@ val temp_file : string -> string -> string
|
|||
Under Unix, the temporary directory is [/tmp] by default; if set,
|
||||
the value of the environment variable [TMPDIR] is used instead.
|
||||
Under Windows, the name of the temporary directory is the
|
||||
value of the environment variable [TEMP],
|
||||
or [C:\temp] by default.
|
||||
Under MacOS, the name of the temporary directory is given
|
||||
value of the environment variable [TEMP], or [C:\temp] by default.
|
||||
Under MacOS 9, the name of the temporary directory is given
|
||||
by the environment variable [TempFolder]; if not set,
|
||||
temporary files are created in the current directory. *)
|
||||
|
||||
|
|
|
@ -24,14 +24,17 @@ type position = {
|
|||
pos_cnum : int;
|
||||
}
|
||||
(** A value of type [position] describes a point in a source file.
|
||||
[pos_fname] is the file name; [pos_lnum] is the line number;
|
||||
[pos_bol] is the number of characters between the beginning of the
|
||||
lexbuf and the beginning of the line; [pos_cnum] is offset of the
|
||||
position from the beginning of the file.
|
||||
[pos_fname] is the file name; [pos_lnum] is the line number;
|
||||
[pos_bol] is the offset of the beginning of the line (number
|
||||
of characters between the beginning of the file and the beginning
|
||||
of the line); [pos_cnum] is the offset of the position (number of
|
||||
characters between the beginning of the file and the position).
|
||||
*)
|
||||
|
||||
val dummy_pos : position;;
|
||||
(** An arbitrary value of type [position]. *)
|
||||
(** A value of type [position], guaranteed to be different from any
|
||||
valid position.
|
||||
*)
|
||||
|
||||
|
||||
(** {6 Lexer buffers} *)
|
||||
|
|
Loading…
Reference in New Issue