Update TCL libraries link and restrict tcl8.6 only to SuSE.
[oweals/cde.git] / cde / programs / nsgmls / ParserOptions.C
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these libraries and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: ParserOptions.C /main/1 1996/07/29 17:01:10 cde-hp $ */
24 // Copyright (c) 1994 James Clark
25 // See the file COPYING for copying permission.
26
27 #ifdef __GNUG__
28 #pragma implementation
29 #endif
30 #include "splib.h"
31 #include "ParserOptions.h"
32
33 #ifdef SP_NAMESPACE
34 namespace SP_NAMESPACE {
35 #endif
36
37 ParserOptions::ParserOptions()
38 : datatag(0),
39   omittag(1),
40   rank(1),
41   shorttag(1),
42   linkSimple(1000),
43   linkImplicit(1),
44   linkExplicit(1),
45   concur(0),
46   subdoc(99999999),
47   formal(1),
48   shortref(1),
49   errorIdref(1),
50   errorSignificant(1),
51   errorAfdr(1),
52   errorLpdNotation(0),
53   warnSgmlDecl(0),
54   warnShould(0),
55   warnDuplicateEntity(0),
56   warnUndefinedElement(0),
57   warnDefaultEntityReference(0),
58   warnMixedContent(0),
59   warnUnclosedTag(0),
60   warnNet(0),
61   warnEmptyTag(0),
62   warnUnusedMap(0),
63   warnUnusedParam(0),
64   warnNotationSystemId(0)
65 {
66   for (int i = 0; i < nQuantity; i++)
67     quantity[i] = 99999999;
68   quantity[BSEQLEN] = 960;
69   quantity[NORMSEP] = 2;
70   quantity[LITLEN] = 24000;
71   quantity[PILEN] = 24000;
72   quantity[DTEMPLEN] = 24000;
73 }
74
75 #ifdef SP_NAMESPACE
76 }
77 #endif