ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ompparser.hh
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 2.7.12-4996. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 #ifndef YY_OMP_OMPPARSER_HH_INCLUDED
34 # define YY_OMP_OMPPARSER_HH_INCLUDED
35 /* Enabling traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int omp_debug;
41 #endif
42 
43 /* Tokens. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46  /* Put the tokens into the symbol table, so that GDB and other debuggers
47  know about them. */
48  enum yytokentype {
49  OMP = 258,
50  PARALLEL = 259,
51  IF = 260,
52  NUM_THREADS = 261,
53  ORDERED = 262,
54  SCHEDULE = 263,
55  STATIC = 264,
56  DYNAMIC = 265,
57  GUIDED = 266,
58  RUNTIME = 267,
59  SECTIONS = 268,
60  SINGLE = 269,
61  NOWAIT = 270,
62  SECTION = 271,
63  FOR = 272,
64  MASTER = 273,
65  CRITICAL = 274,
66  BARRIER = 275,
67  ATOMIC = 276,
68  FLUSH = 277,
69  TARGET = 278,
70  UPDATE = 279,
72  PRIVATE = 281,
73  COPYPRIVATE = 282,
74  FIRSTPRIVATE = 283,
75  LASTPRIVATE = 284,
76  SHARED = 285,
77  DEFAULT = 286,
78  NONE = 287,
79  REDUCTION = 288,
80  COPYIN = 289,
81  TASK = 290,
82  TASKWAIT = 291,
83  UNTIED = 292,
84  COLLAPSE = 293,
85  AUTO = 294,
86  DECLARE = 295,
87  DATA = 296,
88  DEVICE = 297,
89  MAP = 298,
90  ALLOC = 299,
91  IN = 300,
92  OUT = 301,
93  INOUT = 302,
94  SIMD = 303,
95  SAFELEN = 304,
96  ALIGNED = 305,
97  LINEAR = 306,
98  UNIFORM = 307,
99  INBRANCH = 308,
100  NOTINBRANCH = 309,
101  LOGAND = 310,
102  LOGOR = 311,
103  SHLEFT = 312,
104  SHRIGHT = 313,
105  PLUSPLUS = 314,
106  MINUSMINUS = 315,
107  PTR_TO = 316,
108  LE_OP2 = 317,
109  GE_OP2 = 318,
110  EQ_OP2 = 319,
111  NE_OP2 = 320,
114  ADD_ASSIGN2 = 323,
115  SUB_ASSIGN2 = 324,
116  MUL_ASSIGN2 = 325,
117  DIV_ASSIGN2 = 326,
118  MOD_ASSIGN2 = 327,
119  AND_ASSIGN2 = 328,
120  XOR_ASSIGN2 = 329,
121  OR_ASSIGN2 = 330,
123  IDENTIFIER = 332,
124  ICONSTANT = 333,
125  EXPRESSION = 334,
127  };
128 #endif
129 /* Tokens. */
130 #define OMP 258
131 #define PARALLEL 259
132 #define IF 260
133 #define NUM_THREADS 261
134 #define ORDERED 262
135 #define SCHEDULE 263
136 #define STATIC 264
137 #define DYNAMIC 265
138 #define GUIDED 266
139 #define RUNTIME 267
140 #define SECTIONS 268
141 #define SINGLE 269
142 #define NOWAIT 270
143 #define SECTION 271
144 #define FOR 272
145 #define MASTER 273
146 #define CRITICAL 274
147 #define BARRIER 275
148 #define ATOMIC 276
149 #define FLUSH 277
150 #define TARGET 278
151 #define UPDATE 279
152 #define THREADPRIVATE 280
153 #define PRIVATE 281
154 #define COPYPRIVATE 282
155 #define FIRSTPRIVATE 283
156 #define LASTPRIVATE 284
157 #define SHARED 285
158 #define DEFAULT 286
159 #define NONE 287
160 #define REDUCTION 288
161 #define COPYIN 289
162 #define TASK 290
163 #define TASKWAIT 291
164 #define UNTIED 292
165 #define COLLAPSE 293
166 #define AUTO 294
167 #define DECLARE 295
168 #define DATA 296
169 #define DEVICE 297
170 #define MAP 298
171 #define ALLOC 299
172 #define IN 300
173 #define OUT 301
174 #define INOUT 302
175 #define SIMD 303
176 #define SAFELEN 304
177 #define ALIGNED 305
178 #define LINEAR 306
179 #define UNIFORM 307
180 #define INBRANCH 308
181 #define NOTINBRANCH 309
182 #define LOGAND 310
183 #define LOGOR 311
184 #define SHLEFT 312
185 #define SHRIGHT 313
186 #define PLUSPLUS 314
187 #define MINUSMINUS 315
188 #define PTR_TO 316
189 #define LE_OP2 317
190 #define GE_OP2 318
191 #define EQ_OP2 319
192 #define NE_OP2 320
193 #define RIGHT_ASSIGN2 321
194 #define LEFT_ASSIGN2 322
195 #define ADD_ASSIGN2 323
196 #define SUB_ASSIGN2 324
197 #define MUL_ASSIGN2 325
198 #define DIV_ASSIGN2 326
199 #define MOD_ASSIGN2 327
200 #define AND_ASSIGN2 328
201 #define XOR_ASSIGN2 329
202 #define OR_ASSIGN2 330
203 #define LEXICALERROR 331
204 #define IDENTIFIER 332
205 #define ICONSTANT 333
206 #define EXPRESSION 334
207 #define ID_EXPRESSION 335
208 
209 
210 
211 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
212 typedef union YYSTYPE
213 {
214 /* Line 2053 of yacc.c */
215 #line 89 "../../../../rose-edg4x/src/frontend/SageIII/ompparser.yy"
216  int itype;
217  double ftype;
218  const char* stype;
219  void* ptype; /* For expressions */
220 
221 
222 /* Line 2053 of yacc.c */
223 #line 224 "ompparser.hh"
224 } YYSTYPE;
225 # define YYSTYPE_IS_TRIVIAL 1
226 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
227 # define YYSTYPE_IS_DECLARED 1
228 #endif
229 
230 extern YYSTYPE omp_lval;
231 
232 #ifdef YYPARSE_PARAM
233 #if defined __STDC__ || defined __cplusplus
234 int omp_parse (void *YYPARSE_PARAM);
235 #else
236 int omp_parse ();
237 #endif
238 #else /* ! YYPARSE_PARAM */
239 #if defined __STDC__ || defined __cplusplus
240 int omp_parse (void);
241 #else
242 int omp_parse ();
243 #endif
244 #endif /* ! YYPARSE_PARAM */
245 
246 #endif /* !YY_OMP_OMPPARSER_HH_INCLUDED */