176910425Smrg/************************************************************ 276910425Smrg Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc. 376910425Smrg 476910425Smrg Permission to use, copy, modify, and distribute this 576910425Smrg software and its documentation for any purpose and without 676910425Smrg fee is hereby granted, provided that the above copyright 776910425Smrg notice appear in all copies and that both that copyright 876910425Smrg notice and this permission notice appear in supporting 99ff100acSmrg documentation, and that the name of Silicon Graphics not be 109ff100acSmrg used in advertising or publicity pertaining to distribution 1176910425Smrg of the software without specific prior written permission. 129ff100acSmrg Silicon Graphics makes no representation about the suitability 1376910425Smrg of this software for any purpose. It is provided "as is" 1476910425Smrg without any express or implied warranty. 159ff100acSmrg 169ff100acSmrg SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 179ff100acSmrg SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 1876910425Smrg AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON 199ff100acSmrg GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 209ff100acSmrg DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 219ff100acSmrg DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 2276910425Smrg OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH 2376910425Smrg THE USE OR PERFORMANCE OF THIS SOFTWARE. 2476910425Smrg 2576910425Smrg ********************************************************/ 2676910425Smrg#ifndef TOKENS_H 2776910425Smrg#define TOKENS_H 1 2876910425Smrg 2976910425Smrg#define END_OF_FILE 0 3076910425Smrg#define ERROR 255 3176910425Smrg 3276910425Smrg#define BELL 1 3376910425Smrg#define ACCESSX 2 3476910425Smrg#define MESSAGE 3 3576910425Smrg 3676910425Smrg#define NONE 20 3776910425Smrg#define IGNORE 21 3876910425Smrg#define ECHO 22 3976910425Smrg#define PRINT_EV 23 4076910425Smrg#define SHELL 24 4176910425Smrg#define SOUND 25 4276910425Smrg 4376910425Smrg#define EQUALS 40 4476910425Smrg#define PLUS 41 4576910425Smrg#define MINUS 42 4676910425Smrg#define DIVIDE 43 4776910425Smrg#define TIMES 44 4876910425Smrg#define OBRACE 45 4976910425Smrg#define CBRACE 46 5076910425Smrg#define OPAREN 47 5176910425Smrg#define CPAREN 48 5276910425Smrg#define OBRACKET 49 5376910425Smrg#define CBRACKET 50 5476910425Smrg#define DOT 51 5576910425Smrg#define COMMA 52 5676910425Smrg#define SEMI 53 5776910425Smrg#define EXCLAM 54 5876910425Smrg#define INVERT 55 5976910425Smrg 6076910425Smrg#define STRING 60 6176910425Smrg#define INTEGER 61 6276910425Smrg#define FLOAT 62 6376910425Smrg#define IDENT 63 6476910425Smrg#define KEYNAME 64 6576910425Smrg 6676910425Smrg#endif 67