Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / nsgmls / token.h
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 librararies 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: token.h /main/1 1996/07/29 17:10:14 cde-hp $ */
24 // Copyright (c) 1994 James Clark
25 // See the file COPYING for copying permission.
26
27 #ifndef token_INCLUDED
28 #define token_INCLUDED 1
29
30 #ifdef SP_NAMESPACE
31 namespace SP_NAMESPACE {
32 #endif
33
34 enum EnumToken {
35   // tokenUnrecognized must be 0
36   tokenUnrecognized,            // no token could be recognized
37   tokenEe,                      // end of entity
38   tokenS,                       // RS RE SPACE SEPCHAR
39   tokenRe,                      // RE
40   tokenRs,                      // RS
41   tokenSpace,                   // SPACE
42   tokenSepchar,                 // SEPCHAR
43   tokenNameStart,               // X
44   tokenDigit,                   // 1
45   tokenLcUcNmchar,              // LCNMCHAR or UCNMCHAR
46   tokenChar,                    // a legal data character
47   tokenIgnoredChar,             // character in ignored marked section
48   // delimiters and delimiters in context
49   tokenAnd,
50   tokenCom,
51   tokenCroDigit,
52   tokenCroNameStart,
53   tokenDsc,
54   tokenDso,
55   tokenDtgc,
56   tokenDtgo,
57   tokenEroNameStart,
58   tokenEroGrpo,
59   tokenEtago,
60   tokenEtagoNameStart,
61   tokenEtagoTagc,
62   tokenEtagoGrpo,
63   tokenGrpc,
64   tokenGrpo,
65   tokenLit,
66   tokenLita,
67   tokenMdc,
68   tokenMdoNameStart,
69   tokenMdoMdc,
70   tokenMdoCom,
71   tokenMdoDso,
72   tokenMinus,
73   tokenMinusGrpo,
74   tokenMscMdc,
75   tokenNet,
76   tokenOpt,
77   tokenOr,
78   tokenPero,
79   tokenPeroNameStart,
80   tokenPeroGrpo,
81   tokenPic,
82   tokenPio,
83   tokenPlus,
84   tokenPlusGrpo,
85   tokenRefc,
86   tokenRep,
87   tokenRni,
88   tokenSeq,
89   tokenStago,
90   tokenStagoNameStart,
91   tokenStagoTagc,
92   tokenStagoGrpo,
93   tokenTagc,
94   tokenVi,
95   // short references start here
96   tokenFirstShortref
97 };
98
99 #ifdef SP_NAMESPACE
100 }
101 #endif
102
103 #endif /* not token_INCLUDED */