tokens.h revision 34345a63
11.1Sjmcneill/************************************************************
21.1.1.6Sjmcneill Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.
31.1Sjmcneill
41.1Sjmcneill Permission to use, copy, modify, and distribute this
51.1Sjmcneill software and its documentation for any purpose and without
61.1Sjmcneill fee is hereby granted, provided that the above copyright
71.1Sjmcneill notice appear in all copies and that both that copyright
81.1Sjmcneill notice and this permission notice appear in supporting
91.1Sjmcneill documentation, and that the name of Silicon Graphics not be
101.1Sjmcneill used in advertising or publicity pertaining to distribution
111.1Sjmcneill of the software without specific prior written permission.
121.1Sjmcneill Silicon Graphics makes no representation about the suitability
131.1Sjmcneill of this software for any purpose. It is provided "as is"
141.1Sjmcneill without any express or implied warranty.
151.1Sjmcneill
161.1Sjmcneill SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
171.1Sjmcneill SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
181.1Sjmcneill AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
191.1Sjmcneill GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
201.1Sjmcneill DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
211.1Sjmcneill DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
221.1Sjmcneill OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
231.1Sjmcneill THE USE OR PERFORMANCE OF THIS SOFTWARE.
241.1Sjmcneill
251.1Sjmcneill ********************************************************/
261.1Sjmcneill#ifndef TOKENS_H
271.1Sjmcneill#define	TOKENS_H 1
281.1Sjmcneill
291.1Sjmcneill#define	END_OF_FILE	0
301.1Sjmcneill#define	ERROR_TOK	255
311.1Sjmcneill
321.1Sjmcneill#define	XKB_KEYMAP	1
331.1Sjmcneill#define	XKB_KEYCODES	2
341.1Sjmcneill#define	XKB_TYPES	3
351.1Sjmcneill#define	XKB_SYMBOLS	4
361.1Sjmcneill#define	XKB_COMPATMAP	5
371.1Sjmcneill#define	XKB_GEOMETRY	6
381.1Sjmcneill#define	XKB_SEMANTICS	7
391.1Sjmcneill#define	XKB_LAYOUT	8
401.1Sjmcneill
411.1Sjmcneill#define	INCLUDE		10
421.1Sjmcneill#define	OVERRIDE	11
431.1Sjmcneill#define	AUGMENT		12
441.1Sjmcneill#define	REPLACE		13
451.1Sjmcneill#define	ALTERNATE	14
461.1Sjmcneill
471.1Sjmcneill#define	VIRTUAL_MODS	20
481.1Sjmcneill#define	TYPE		21
491.1Sjmcneill#define	INTERPRET	22
501.1Sjmcneill#define	ACTION_TOK	23
511.1Sjmcneill#define	KEY		24
521.1Sjmcneill#define	ALIAS		25
531.1Sjmcneill#define	GROUP		26
541.1Sjmcneill#define	MODIFIER_MAP	27
551.1Sjmcneill#define	INDICATOR	28
561.1Sjmcneill#define	SHAPE		29
571.1Sjmcneill#define	KEYS		30
581.1Sjmcneill#define	ROW		31
591.1Sjmcneill#define	SECTION		32
601.1Sjmcneill#define	OVERLAY		33
611.1.1.3Sjmcneill#define	TEXT		34
621.1.1.3Sjmcneill#define	OUTLINE		35
631.1.1.3Sjmcneill#define	SOLID		36
641.1.1.3Sjmcneill#define	LOGO		37
651.1.1.3Sjmcneill#define	VIRTUAL		38
661.1.1.3Sjmcneill
671.1.1.3Sjmcneill#define	EQUALS		40
681.1.1.3Sjmcneill#define	PLUS		41
691.1.1.3Sjmcneill#define	MINUS		42
701.1.1.3Sjmcneill#define	DIVIDE		43
711.1.1.3Sjmcneill#define	TIMES		44
721.1Sjmcneill#define	OBRACE		45
731.1Sjmcneill#define	CBRACE		46
741.1Sjmcneill#define	OPAREN		47
751.1.1.6Sjmcneill#define	CPAREN		48
761.1Sjmcneill#define	OBRACKET	49
771.1Sjmcneill#define	CBRACKET	50
781.1Sjmcneill#define	DOT		51
791.1Sjmcneill#define	COMMA		52
801.1.1.6Sjmcneill#define	SEMI		53
811.1Sjmcneill#define	EXCLAM		54
821.1Sjmcneill#define	INVERT		55
831.1Sjmcneill
841.1Sjmcneill#define	STRING		60
851.1Sjmcneill#define	INTEGER		61
861.1Sjmcneill#define	FLOAT		62
871.1Sjmcneill#define	IDENT		63
881.1Sjmcneill#define	KEYNAME		64
891.1Sjmcneill
901.1Sjmcneill#define	PARTIAL		70
911.1Sjmcneill#define	DEFAULT		71
921.1Sjmcneill#define	HIDDEN		72
931.1Sjmcneill#define	ALPHANUMERIC_KEYS	73
941.1Sjmcneill#define	MODIFIER_KEYS		74
951.1Sjmcneill#define	KEYPAD_KEYS		75
961.1Sjmcneill#define	FUNCTION_KEYS		76
971.1Sjmcneill#define	ALTERNATE_GROUP		77
981.1Sjmcneill
991.1Sjmcneillextern Atom tok_ONE_LEVEL;
1001.1.1.3Sjmcneillextern Atom tok_TWO_LEVEL;
1011.1.1.3Sjmcneillextern Atom tok_ALPHABETIC;
1021.1.1.3Sjmcneillextern Atom tok_KEYPAD;
1031.1.1.3Sjmcneill
1041.1Sjmcneill#endif
1051.1Sjmcneill