PIPS
genspec.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.8.2. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
6  Inc.
7 
8  This program is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <https://www.gnu.org/licenses/>. */
20 
21 /* As a special exception, you may create a larger work that contains
22  part or all of the Bison parser skeleton and distribute that work
23  under terms of your choice, so long as that work isn't itself a
24  parser generator using the skeleton or a modified version thereof
25  as a parser skeleton. Alternatively, if you modify or redistribute
26  the parser skeleton itself, you may (at your option) remove this
27  special exception, which will cause the skeleton and the resulting
28  Bison output files to be licensed under the GNU General Public
29  License without this special exception.
30 
31  This special exception was added by the Free Software Foundation in
32  version 2.2 of Bison. */
33 
34 /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35  especially those whose name start with YY_ or yy_. They are
36  private implementation details that can be changed or removed. */
37 
38 #ifndef YY_GENSPEC_Y_TAB_H_INCLUDED
39 # define YY_GENSPEC_Y_TAB_H_INCLUDED
40 /* Debug traces. */
41 #ifndef YYDEBUG
42 # define YYDEBUG 0
43 #endif
44 #if YYDEBUG
45 extern int genspec_debug;
46 #endif
47 
48 /* Token kinds. */
49 #ifndef YYTOKENTYPE
50 # define YYTOKENTYPE
52  {
53  YYEMPTY = -2,
54  YYEOF = 0, /* "end of file" */
55  YYerror = 256, /* error */
56  YYUNDEF = 257, /* "invalid token" */
57  COMMA = 258, /* COMMA */
58  COLUMN = 259, /* COLUMN */
59  SEMI_COLUMN = 260, /* SEMI_COLUMN */
60  AND = 261, /* AND */
61  OR = 262, /* OR */
62  ARROW = 263, /* ARROW */
63  STAR = 264, /* STAR */
64  LB = 265, /* LB */
65  RB = 266, /* RB */
66  LR = 267, /* LR */
67  RR = 268, /* RR */
68  EQUAL = 269, /* EQUAL */
69  FROM = 270, /* FROM */
70  GRAM_EXTERNAL = 271, /* GRAM_EXTERNAL */
71  GRAM_IMPORT = 272, /* GRAM_IMPORT */
72  TABULATED = 273, /* TABULATED */
73  PERSISTANT = 274, /* PERSISTANT */
74  IDENT = 275, /* IDENT */
75  GRAM_FILE = 276, /* GRAM_FILE */
76  GRAM_INT = 277 /* GRAM_INT */
77  };
78  typedef enum yytokentype yytoken_kind_t;
79 #endif
80 /* Token kinds. */
81 #define YYEMPTY -2
82 #define YYEOF 0
83 #define YYerror 256
84 #define YYUNDEF 257
85 #define COMMA 258
86 #define COLUMN 259
87 #define SEMI_COLUMN 260
88 #define AND 261
89 #define OR 262
90 #define ARROW 263
91 #define STAR 264
92 #define LB 265
93 #define RB 266
94 #define LR 267
95 #define RR 268
96 #define EQUAL 269
97 #define FROM 270
98 #define GRAM_EXTERNAL 271
99 #define GRAM_IMPORT 272
100 #define TABULATED 273
101 #define PERSISTANT 274
102 #define IDENT 275
103 #define GRAM_FILE 276
104 #define GRAM_INT 277
105 
106 /* Value type. */
107 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
108 union YYSTYPE
109 {
110 #line 81 "spec.y"
111 
112  union domain *domain ;
114  struct namelist *namelist ;
115  struct intlist *intlist ;
116  char *name ;
117  int val ;
118 
119 #line 120 "y.tab.h"
120 
121 };
122 typedef union YYSTYPE YYSTYPE;
123 # define YYSTYPE_IS_TRIVIAL 1
124 # define YYSTYPE_IS_DECLARED 1
125 #endif
126 
127 
128 extern YYSTYPE genspec_lval;
129 
130 
131 int genspec_parse (void);
132 
133 
134 #endif /* !YY_GENSPEC_Y_TAB_H_INCLUDED */
yytokentype
Definition: genread.h:52
#define IDENT
Definition: genspec.h:102
#define RB
Definition: genspec.h:93
#define COLUMN
Definition: genspec.h:86
#define EQUAL
Definition: genspec.h:96
#define OR
Definition: genspec.h:89
#define LR
Definition: genspec.h:94
#define YYEOF
Definition: genspec.h:82
#define GRAM_FILE
Definition: genspec.h:103
#define YYerror
Definition: genspec.h:83
#define YYUNDEF
Definition: genspec.h:84
#define ARROW
Definition: genspec.h:90
#define RR
Definition: genspec.h:95
int genspec_parse(void)
#define GRAM_EXTERNAL
Definition: genspec.h:98
#define STAR
Definition: genspec.h:91
#define GRAM_INT
Definition: genspec.h:104
#define SEMI_COLUMN
Definition: genspec.h:87
#define FROM
Definition: genspec.h:97
#define COMMA
Definition: genspec.h:85
#define GRAM_IMPORT
Definition: genspec.h:99
#define LB
Definition: genspec.h:92
#define AND
Definition: genspec.h:88
enum yytokentype yytoken_kind_t
Definition: genspec.h:78
YYSTYPE genspec_lval
#define YYEMPTY
Token kinds.
Definition: genspec.h:81
#define PERSISTANT
Definition: genspec.h:101
#define TABULATED
Definition: genspec.h:100
Value type.
Definition: genread.h:115
char * name
Definition: genspec.h:116
struct namelist * namelist
Definition: genspec.h:114
struct domainlist * domainlist
Definition: genspec.h:113
int val
Definition: genspec.h:117
union domain * domain
Definition: genspec.h:112
struct intlist * intlist
Definition: genspec.h:115
A DOMAIN union describes the structure of a user type.