]> git.saurik.com Git - bison.git/blob - src/lex.h
* tests/atgeneral.m4: Update from Autoconf.
[bison.git] / src / lex.h
1 /* Token type definitions for bison's input reader,
2 Copyright (C) 1984, 1989, 1992 Free Software Foundation, Inc.
3
4 This file is part of Bison, the GNU Compiler Compiler.
5
6 Bison is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 Bison is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Bison; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21
22 #define ENDFILE 0
23 #define IDENTIFIER 1
24 #define COMMA 2
25 #define COLON 3
26 #define SEMICOLON 4
27 #define BAR 5
28 #define LEFT_CURLY 6
29 #define TWO_PERCENTS 7
30 #define PERCENT_LEFT_CURLY 8
31 #define TOKEN 9
32 #define NTERM 10
33 #define GUARD 11
34 #define TYPE 12
35 #define UNION 13
36 #define START 14
37 #define LEFT 15
38 #define RIGHT 16
39 #define NONASSOC 17
40 #define PREC 18
41 #define SEMANTIC_PARSER 19
42 #define PURE_PARSER 20
43 #define TYPENAME 21
44 #define NUMBER 22
45 #define EXPECT 23
46 #define THONG 24
47 #define NOOP 25
48 #define SETOPT 26
49 #define ILLEGAL 27
50
51 #define MAXTOKEN 1024