]> git.saurik.com Git - bison.git/blame - src/lex.h
Defined locations of parser files in config.h instead of Makefile.
[bison.git] / src / lex.h
CommitLineData
f7d4d87a 1/* Token type definitions for bison's input reader,
7da4d69f 2 Copyright (C) 1984, 1989, 1992 Free Software Foundation, Inc.
f7d4d87a
DM
3
4This file is part of Bison, the GNU Compiler Compiler.
5
6Bison is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11Bison is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with Bison; see the file COPYING. If not, write to
c49a8e71
JT
18the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
f7d4d87a
DM
20
21
7da4d69f
RS
22#define ENDFILE 0
23#define IDENTIFIER 1
24#define COMMA 2
f7d4d87a 25#define COLON 3
7da4d69f
RS
26#define SEMICOLON 4
27#define BAR 5
28#define LEFT_CURLY 6
f7d4d87a
DM
29#define TWO_PERCENTS 7
30#define PERCENT_LEFT_CURLY 8
7da4d69f
RS
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
f7d4d87a 41#define SEMANTIC_PARSER 19
7da4d69f
RS
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
f7d4d87a
DM
50
51#define MAXTOKEN 1024