Add copyright notices and new function String.chomp
[ocaml.git] / ocamldoc / odoc_comments_global.ml
blob6e18fd295d45849c74ebc01d61807fb82726b122
1 (***********************************************************************)
2 (* OCamldoc *)
3 (* *)
4 (* Maxence Guesdon, projet Cristal, INRIA Rocquencourt *)
5 (* *)
6 (* Copyright 2001 Institut National de Recherche en Informatique et *)
7 (* en Automatique. All rights reserved. This file is distributed *)
8 (* under the terms of the Q Public License version 1.0. *)
9 (* *)
10 (***********************************************************************)
12 (* $Id$ *)
14 (** The global variables used by the special comment parser.*)
16 let nb_chars = ref 0
18 let authors = ref ([] : string list)
20 let version = ref (None : string option)
22 let sees = ref ([] : string list)
24 let since = ref (None : string option)
26 let deprecated = ref (None : string option)
28 let params = ref ([] : (string * string) list)
30 let raised_exceptions = ref ([] : (string * string) list)
32 let return_value = ref (None : string option)
34 let customs = ref []
36 let init () =
37 nb_chars := 0;
38 authors := [];
39 version := None;
40 sees := [];
41 since := None;
42 deprecated := None;
43 params := [];
44 raised_exceptions := [];
45 return_value := None ;
46 customs := []
48 (* eof $Id$ *)