tokens.h revision bfe6082c
1/************************************************************
2 Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.
3
4 Permission to use, copy, modify, and distribute this
5 software and its documentation for any purpose and without
6 fee is hereby granted, provided that the above copyright
7 notice appear in all copies and that both that copyright
8 notice and this permission notice appear in supporting
9 documentation, and that the name of Silicon Graphics not be
10 used in advertising or publicity pertaining to distribution
11 of the software without specific prior written permission.
12 Silicon Graphics makes no representation about the suitability
13 of this software for any purpose. It is provided "as is"
14 without any express or implied warranty.
15
16 SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
17 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18 AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
19 GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
20 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
21 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
22 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
23 THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
25 ********************************************************/
26#ifndef TOKENS_H
27#define	TOKENS_H 1
28
29#define	END_OF_FILE	0
30#define	ERROR_TOK	255
31
32#define	XKB_KEYMAP	1
33#define	XKB_KEYCODES	2
34#define	XKB_TYPES	3
35#define	XKB_SYMBOLS	4
36#define	XKB_COMPATMAP	5
37#define	XKB_GEOMETRY	6
38#define	XKB_SEMANTICS	7
39#define	XKB_LAYOUT	8
40
41#define	INCLUDE		10
42#define	OVERRIDE	11
43#define	AUGMENT		12
44#define	REPLACE		13
45#define	ALTERNATE	14
46
47#define	VIRTUAL_MODS	20
48#define	TYPE		21
49#define	INTERPRET	22
50#define	ACTION_TOK	23
51#define	KEY		24
52#define	ALIAS		25
53#define	GROUP		26
54#define	MODIFIER_MAP	27
55#define	INDICATOR	28
56#define	SHAPE		29
57#define	KEYS		30
58#define	ROW		31
59#define	SECTION		32
60#define	OVERLAY		33
61#define	TEXT		34
62#define	OUTLINE		35
63#define	SOLID		36
64#define	LOGO		37
65#define	VIRTUAL		38
66
67#define	EQUALS		40
68#define	PLUS		41
69#define	MINUS		42
70#define	DIVIDE		43
71#define	TIMES		44
72#define	OBRACE		45
73#define	CBRACE		46
74#define	OPAREN		47
75#define	CPAREN		48
76#define	OBRACKET	49
77#define	CBRACKET	50
78#define	DOT		51
79#define	COMMA		52
80#define	SEMI		53
81#define	EXCLAM		54
82#define	INVERT		55
83
84#define	STRING		60
85#define	INTEGER		61
86#define	FLOAT		62
87#define	IDENT		63
88#define	KEYNAME		64
89
90#define	PARTIAL		70
91#define	DEFAULT		71
92#define	HIDDEN		72
93#define	ALPHANUMERIC_KEYS	73
94#define	MODIFIER_KEYS		74
95#define	KEYPAD_KEYS		75
96#define	FUNCTION_KEYS		76
97#define	ALTERNATE_GROUP		77
98
99extern Atom tok_ONE_LEVEL;
100extern Atom tok_TWO_LEVEL;
101extern Atom tok_ALPHABETIC;
102extern Atom tok_KEYPAD;
103
104#endif
105