3065 some functions in the tcp module can be static
[unleashed.git] / usr / src / cmd / man / src / util / nsgmls.src / lib / ParserOptions.cxx
blobde2ac0c4b155bab8bf34c064fa7318f9314d8f0a
1 // Copyright (c) 1994 James Clark
2 // See the file COPYING for copying permission.
3 #pragma ident "%Z%%M% %I% %E% SMI"
5 #ifdef __GNUG__
6 #pragma implementation
7 #endif
8 #include "splib.h"
9 #include "ParserOptions.h"
10 #include <string.h>
12 #ifdef SP_NAMESPACE
13 namespace SP_NAMESPACE {
14 #endif
16 ParserOptions::ParserOptions()
17 : datatag(0),
18 omittag(1),
19 rank(1),
20 shorttag(1),
21 emptynrm(0),
22 linkSimple(1000),
23 linkImplicit(1),
24 linkExplicit(1),
25 concur(0),
26 subdoc(99999999),
27 formal(1),
28 typeValid(sgmlDeclTypeValid),
29 shortref(1),
30 errorIdref(1),
31 errorSignificant(1),
32 errorAfdr(1),
33 noUnclosedTag(0),
34 noNet(0)
36 for (int i = 0; i < nQuantity; i++)
37 quantity[i] = 99999999;
38 quantity[BSEQLEN] = 960;
39 quantity[NORMSEP] = 2;
40 quantity[LITLEN] = 24000;
41 quantity[PILEN] = 24000;
42 quantity[DTEMPLEN] = 24000;
45 Warnings::Warnings()
47 memset(this, 0, sizeof(Warnings));
50 #ifdef SP_NAMESPACE
52 #endif