1 |
#ifndef BISON_PARSE_GRAM_H |
#ifndef BISON_Y_TAB_H |
2 |
# define BISON_PARSE_GRAM_H |
# define BISON_Y_TAB_H |
|
|
|
|
/* Tokens. */ |
|
|
#ifndef YYTOKENTYPE |
|
|
# if defined (__STDC__) || defined (__cplusplus) |
|
|
/* Put the tokens into the symbol table, so that GDB and other debuggers |
|
|
know about them. */ |
|
|
enum yytokentype { |
|
|
GRAM_EOF = 0, |
|
|
STRING = 258, |
|
|
CHARACTER = 259, |
|
|
INT = 260, |
|
|
PERCENT_TOKEN = 261, |
|
|
PERCENT_NTERM = 262, |
|
|
PERCENT_TYPE = 263, |
|
|
PERCENT_UNION = 264, |
|
|
PERCENT_EXPECT = 265, |
|
|
PERCENT_START = 266, |
|
|
PERCENT_LEFT = 267, |
|
|
PERCENT_RIGHT = 268, |
|
|
PERCENT_NONASSOC = 269, |
|
|
PERCENT_PREC = 270, |
|
|
PERCENT_VERBOSE = 271, |
|
|
PERCENT_ERROR_VERBOSE = 272, |
|
|
PERCENT_OUTPUT = 273, |
|
|
PERCENT_FILE_PREFIX = 274, |
|
|
PERCENT_NAME_PREFIX = 275, |
|
|
PERCENT_DEFINE = 276, |
|
|
PERCENT_PURE_PARSER = 277, |
|
|
PERCENT_DEFINES = 278, |
|
|
PERCENT_YACC = 279, |
|
|
PERCENT_DEBUG = 280, |
|
|
PERCENT_LOCATIONS = 281, |
|
|
PERCENT_NO_LINES = 282, |
|
|
PERCENT_SKELETON = 283, |
|
|
PERCENT_TOKEN_TABLE = 284, |
|
|
TYPE = 285, |
|
|
EQUAL = 286, |
|
|
SEMICOLON = 287, |
|
|
COLON = 288, |
|
|
PIPE = 289, |
|
|
ID = 290, |
|
|
PERCENT_PERCENT = 291, |
|
|
PROLOGUE = 292, |
|
|
EPILOGUE = 293, |
|
|
BRACED_CODE = 294 |
|
|
}; |
|
|
# endif |
|
|
/* POSIX requires `int' for tokens in interfaces. */ |
|
|
# define YYTOKENTYPE int |
|
|
#endif /* !YYTOKENTYPE */ |
|
|
#define GRAM_EOF 0 |
|
|
#define STRING 258 |
|
|
#define CHARACTER 259 |
|
|
#define INT 260 |
|
|
#define PERCENT_TOKEN 261 |
|
|
#define PERCENT_NTERM 262 |
|
|
#define PERCENT_TYPE 263 |
|
|
#define PERCENT_UNION 264 |
|
|
#define PERCENT_EXPECT 265 |
|
|
#define PERCENT_START 266 |
|
|
#define PERCENT_LEFT 267 |
|
|
#define PERCENT_RIGHT 268 |
|
|
#define PERCENT_NONASSOC 269 |
|
|
#define PERCENT_PREC 270 |
|
|
#define PERCENT_VERBOSE 271 |
|
|
#define PERCENT_ERROR_VERBOSE 272 |
|
|
#define PERCENT_OUTPUT 273 |
|
|
#define PERCENT_FILE_PREFIX 274 |
|
|
#define PERCENT_NAME_PREFIX 275 |
|
|
#define PERCENT_DEFINE 276 |
|
|
#define PERCENT_PURE_PARSER 277 |
|
|
#define PERCENT_DEFINES 278 |
|
|
#define PERCENT_YACC 279 |
|
|
#define PERCENT_DEBUG 280 |
|
|
#define PERCENT_LOCATIONS 281 |
|
|
#define PERCENT_NO_LINES 282 |
|
|
#define PERCENT_SKELETON 283 |
|
|
#define PERCENT_TOKEN_TABLE 284 |
|
|
#define TYPE 285 |
|
|
#define EQUAL 286 |
|
|
#define SEMICOLON 287 |
|
|
#define COLON 288 |
|
|
#define PIPE 289 |
|
|
#define ID 290 |
|
|
#define PERCENT_PERCENT 291 |
|
|
#define PROLOGUE 292 |
|
|
#define EPILOGUE 293 |
|
|
#define BRACED_CODE 294 |
|
|
|
|
|
|
|
|
|
|
3 |
|
|
4 |
#ifndef YYSTYPE |
#ifndef YYSTYPE |
5 |
#line 73 "parse-gram.y" |
typedef union |
6 |
typedef union { |
{ |
7 |
symbol_t *symbol; |
symbol_t *symbol; |
8 |
int integer; |
int integer; |
9 |
char *string; |
char *string; |
10 |
associativity assoc; |
associativity assoc; |
11 |
} yystype; |
} yystype; |
12 |
# define YYSTYPE yystype |
# define YYSTYPE yystype |
13 |
|
# define YYSTYPE_IS_TRIVIAL 1 |
14 |
#endif |
#endif |
15 |
|
|
|
|
|
|
|
|
16 |
#ifndef YYLTYPE |
#ifndef YYLTYPE |
17 |
typedef struct yyltype |
typedef struct yyltype |
18 |
{ |
{ |
19 |
int first_line; |
int first_line; |
20 |
int first_column; |
int first_column; |
21 |
|
|
22 |
int last_line; |
int last_line; |
23 |
int last_column; |
int last_column; |
24 |
} yyltype; |
} yyltype; |
25 |
|
|
26 |
# define YYLTYPE yyltype |
# define YYLTYPE yyltype |
27 |
|
# define YYLTYPE_IS_TRIVIAL 1 |
28 |
#endif |
#endif |
29 |
|
|
30 |
|
# define GRAM_EOF 0 |
31 |
|
# define STRING 257 |
32 |
|
# define CHARACTER 258 |
33 |
|
# define INT 259 |
34 |
|
# define PERCENT_TOKEN 260 |
35 |
|
# define PERCENT_NTERM 261 |
36 |
|
# define PERCENT_TYPE 262 |
37 |
|
# define PERCENT_UNION 263 |
38 |
|
# define PERCENT_EXPECT 264 |
39 |
|
# define PERCENT_START 265 |
40 |
|
# define PERCENT_LEFT 266 |
41 |
|
# define PERCENT_RIGHT 267 |
42 |
|
# define PERCENT_NONASSOC 268 |
43 |
|
# define PERCENT_PREC 269 |
44 |
|
# define PERCENT_VERBOSE 270 |
45 |
|
# define PERCENT_ERROR_VERBOSE 271 |
46 |
|
# define PERCENT_OUTPUT 272 |
47 |
|
# define PERCENT_FILE_PREFIX 273 |
48 |
|
# define PERCENT_NAME_PREFIX 274 |
49 |
|
# define PERCENT_DEFINE 275 |
50 |
|
# define PERCENT_PURE_PARSER 276 |
51 |
|
# define PERCENT_DEFINES 277 |
52 |
|
# define PERCENT_YACC 278 |
53 |
|
# define PERCENT_DEBUG 279 |
54 |
|
# define PERCENT_LOCATIONS 280 |
55 |
|
# define PERCENT_NO_LINES 281 |
56 |
|
# define PERCENT_SKELETON 282 |
57 |
|
# define PERCENT_TOKEN_TABLE 283 |
58 |
|
# define TYPE 284 |
59 |
|
# define EQUAL 285 |
60 |
|
# define SEMICOLON 286 |
61 |
|
# define COLON 287 |
62 |
|
# define PIPE 288 |
63 |
|
# define ID 289 |
64 |
|
# define PERCENT_PERCENT 290 |
65 |
|
# define PROLOGUE 291 |
66 |
|
# define EPILOGUE 292 |
67 |
|
# define BRACED_CODE 293 |
68 |
|
|
69 |
|
|
70 |
#endif /* not BISON_PARSE_GRAM_H */ |
#endif /* not BISON_Y_TAB_H */ |
|
|
|