2 ||M|| This file is part of HELM, an Hypertextual, Electronic
3 ||A|| Library of Mathematics, developed at the Computer Science
4 ||T|| Department, University of Bologna, Italy.
6 ||T|| HELM is free software; you can redistribute it and/or
7 ||A|| modify it under the terms of the GNU General Public License
8 \ / version 2 or (at your option) any later version.
9 \ / This software is distributed as is, NO WARRANTY.
10 V_______________________________________________________________ *)
20 mutable tp : int list;
21 mutable t1 : int list;
22 mutable tn : (int * int) list;
25 let mark a = E.mark C.err C.start a
27 (* interface functions ******************************************************)
30 uri = U.uri_of_string (G.get_baseuri ());
31 tp = []; t1 = []; tn = []
35 if !G.si && !G.cc then
36 let i = abs (mark a) in
37 if L.mem i s.tp then () else s.tp <- i :: s.tp
41 if !G.si && !G.cc then
42 let i = abs (mark a) in
43 if L.mem i s.t1 then () else s.t1 <- i :: s.t1
46 let add_equal s xa ia =
47 if !G.si && !G.cc then
48 let i = abs (mark xa), abs (mark ia) in
49 if L.mem i s.tn then () else s.tn <- i :: s.tn