PIPS
readmakefile.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_PIPSMAKE_Y_TAB_H_INCLUDED
39 # define YY_PIPSMAKE_Y_TAB_H_INCLUDED
40 /* Debug traces. */
41 #ifndef YYDEBUG
42 # define YYDEBUG 0
43 #endif
44 #if YYDEBUG
45 extern int pipsmake_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  PROGRAM = 258, /* PROGRAM */
58  MODULE = 259, /* MODULE */
59  MAIN = 260, /* MAIN */
60  COMMON = 261, /* COMMON */
61  TK_CALLEES = 262, /* TK_CALLEES */
62  CALLERS = 263, /* CALLERS */
63  ALL = 264, /* ALL */
64  SELECT = 265, /* SELECT */
65  COMPILATION_UNIT = 266, /* COMPILATION_UNIT */
66  REQUIRED = 267, /* REQUIRED */
67  PRODUCED = 268, /* PRODUCED */
68  MODIFIED = 269, /* MODIFIED */
69  PRESERVED = 270, /* PRESERVED */
70  PRE_TRANSFORMATION = 271, /* PRE_TRANSFORMATION */
71  POST_TRANSFORMATION = 272, /* POST_TRANSFORMATION */
72  DOT = 273, /* DOT */
73  NAME = 274 /* NAME */
74  };
75  typedef enum yytokentype yytoken_kind_t;
76 #endif
77 /* Token kinds. */
78 #define YYEMPTY -2
79 #define YYEOF 0
80 #define YYerror 256
81 #define YYUNDEF 257
82 #define PROGRAM 258
83 #define MODULE 259
84 #define MAIN 260
85 #define COMMON 261
86 #define TK_CALLEES 262
87 #define CALLERS 263
88 #define ALL 264
89 #define SELECT 265
90 #define COMPILATION_UNIT 266
91 #define REQUIRED 267
92 #define PRODUCED 268
93 #define MODIFIED 269
94 #define PRESERVED 270
95 #define PRE_TRANSFORMATION 271
96 #define POST_TRANSFORMATION 272
97 #define DOT 273
98 #define NAME 274
99 
100 /* Value type. */
101 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
102 union YYSTYPE
103 {
104 #line 86 "readmakefile.y"
105 
106  string name;
107  owner owner;
108  virtual_resource virtual;
109  cons *list;
110  rule rule;
111  int tag;
112 
113 #line 114 "y.tab.h"
114 
115 };
116 typedef union YYSTYPE YYSTYPE;
117 # define YYSTYPE_IS_TRIVIAL 1
118 # define YYSTYPE_IS_DECLARED 1
119 #endif
120 
121 
122 extern YYSTYPE pipsmake_lval;
123 
124 
125 int pipsmake_parse (void);
126 
127 
128 #endif /* !YY_PIPSMAKE_Y_TAB_H_INCLUDED */
yytokentype
Definition: genread.h:52
YYSTYPE pipsmake_lval
#define CALLERS
Definition: readmakefile.h:87
#define MODIFIED
Definition: readmakefile.h:93
#define ALL
Definition: readmakefile.h:88
#define MODULE
Definition: readmakefile.h:83
#define TK_CALLEES
Definition: readmakefile.h:86
#define MAIN
Definition: readmakefile.h:84
#define YYEOF
Definition: readmakefile.h:79
#define PRESERVED
Definition: readmakefile.h:94
#define NAME
Definition: readmakefile.h:98
#define COMMON
Definition: readmakefile.h:85
#define REQUIRED
Definition: readmakefile.h:91
#define SELECT
Definition: readmakefile.h:89
#define YYerror
Definition: readmakefile.h:80
#define YYUNDEF
Definition: readmakefile.h:81
#define PRE_TRANSFORMATION
Definition: readmakefile.h:95
#define DOT
Definition: readmakefile.h:97
#define PROGRAM
Definition: readmakefile.h:82
#define COMPILATION_UNIT
Definition: readmakefile.h:90
#define PRODUCED
Definition: readmakefile.h:92
int pipsmake_parse(void)
enum yytokentype yytoken_kind_t
Definition: readmakefile.h:75
#define YYEMPTY
Token kinds.
Definition: readmakefile.h:78
#define POST_TRANSFORMATION
Definition: readmakefile.h:96
The structure used to build lists in NewGen.
Definition: newgen_list.h:41
Value type.
Definition: genread.h:115
char * name
Definition: genspec.h:116
rule rule
Definition: readmakefile.c:200
cons * list
Definition: readmakefile.c:199
owner owner
Definition: readmakefile.c:197