PIPS
step_bison_parser.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_STEP_LEXER_STEP_BISON_PARSER_H_INCLUDED
39
# define YY_STEP_LEXER_STEP_BISON_PARSER_H_INCLUDED
40
/* Debug traces. */
41
#ifndef YYDEBUG
42
# define YYDEBUG 1
43
#endif
44
#if YYDEBUG
45
extern
int
step_lexerdebug
;
46
#endif
47
48
/* Token kinds. */
49
#ifndef YYTOKENTYPE
50
# define YYTOKENTYPE
51
enum
yytokentype
52
{
53
YYEMPTY
= -2,
54
YYEOF
= 0,
/* "end of file" */
55
YYerror
= 256,
/* error */
56
YYUNDEF
= 257,
/* "invalid token" */
57
TK_EOL
= 258,
/* TK_EOL */
58
TK_ERROR
= 259,
/* TK_ERROR */
59
TK_LPAREN
= 260,
/* TK_LPAREN */
60
TK_RPAREN
= 261,
/* TK_RPAREN */
61
TK_COLON
= 262,
/* TK_COLON */
62
TK_COMMA
= 263,
/* TK_COMMA */
63
TK_IDENT
= 264,
/* TK_IDENT */
64
TK_COMMENT
= 265,
/* TK_COMMENT */
65
TK_OPERATOR
= 266,
/* TK_OPERATOR */
66
TK_RAW
= 267,
/* TK_RAW */
67
TK_OMP_PRAGMA
= 268,
/* TK_OMP_PRAGMA */
68
TK_OMP_PARALLEL
= 269,
/* TK_OMP_PARALLEL */
69
TK_OMP_LOOP
= 270,
/* TK_OMP_LOOP */
70
TK_OMP_END
= 271,
/* TK_OMP_END */
71
TK_OMP_BARRIER
= 272,
/* TK_OMP_BARRIER */
72
TK_OMP_MASTER
= 273,
/* TK_OMP_MASTER */
73
TK_OMP_SINGLE
= 274,
/* TK_OMP_SINGLE */
74
TK_OMP_THREADPRIVATE
= 275,
/* TK_OMP_THREADPRIVATE */
75
TK_OMP_SHARED
= 276,
/* TK_OMP_SHARED */
76
TK_OMP_PRIVATE
= 277,
/* TK_OMP_PRIVATE */
77
TK_OMP_NOWAIT
= 278,
/* TK_OMP_NOWAIT */
78
TK_OMP_REDUCTION
= 279,
/* TK_OMP_REDUCTION */
79
TK_OMP_DEFAULT
= 280,
/* TK_OMP_DEFAULT */
80
TK_OMP_COPYIN
= 281,
/* TK_OMP_COPYIN */
81
TK_OMP_FIRSTPRIVATE
= 282,
/* TK_OMP_FIRSTPRIVATE */
82
TK_OMP_SCHEDULE
= 283,
/* TK_OMP_SCHEDULE */
83
TK_STEP_PRAGMA
= 284,
/* TK_STEP_PRAGMA */
84
TK_STEP_TRANSFORMATION
= 285
/* TK_STEP_TRANSFORMATION */
85
};
86
typedef
enum
yytokentype
yytoken_kind_t
;
87
#endif
88
89
/* Value type. */
90
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
91
union
YYSTYPE
92
{
93
#line 36 "step_bison_parser.y"
94
95
char
*
string
;
96
cons
*
liste
;
97
int
integer
;
98
step_directive
step_directive
;
99
step_clause
step_clause
;
100
101
#line 102 "step_bison_parser.h"
102
103
};
104
typedef
union
YYSTYPE
YYSTYPE
;
105
# define YYSTYPE_IS_TRIVIAL 1
106
# define YYSTYPE_IS_DECLARED 1
107
#endif
108
109
110
extern
YYSTYPE
step_lexerlval
;
111
112
113
int
step_lexerparse
(
void
);
114
115
116
#endif
/* !YY_STEP_LEXER_STEP_BISON_PARSER_H_INCLUDED */
yytokentype
yytokentype
Definition:
genread.h:52
YYEOF
@ YYEOF
Definition:
step_bison_parser.h:54
TK_OMP_PARALLEL
@ TK_OMP_PARALLEL
TK_OMP_PRAGMA
Definition:
step_bison_parser.h:68
TK_EOL
@ TK_EOL
"invalid token"
Definition:
step_bison_parser.h:57
TK_OMP_DEFAULT
@ TK_OMP_DEFAULT
TK_OMP_REDUCTION
Definition:
step_bison_parser.h:79
TK_LPAREN
@ TK_LPAREN
TK_ERROR
Definition:
step_bison_parser.h:59
TK_ERROR
@ TK_ERROR
TK_EOL
Definition:
step_bison_parser.h:58
TK_OMP_NOWAIT
@ TK_OMP_NOWAIT
TK_OMP_PRIVATE
Definition:
step_bison_parser.h:77
TK_OMP_SHARED
@ TK_OMP_SHARED
TK_OMP_THREADPRIVATE
Definition:
step_bison_parser.h:75
TK_COMMENT
@ TK_COMMENT
TK_IDENT
Definition:
step_bison_parser.h:64
YYerror
@ YYerror
"end of file"
Definition:
step_bison_parser.h:55
TK_OMP_FIRSTPRIVATE
@ TK_OMP_FIRSTPRIVATE
TK_OMP_COPYIN
Definition:
step_bison_parser.h:81
YYEMPTY
@ YYEMPTY
Definition:
step_bison_parser.h:53
TK_STEP_TRANSFORMATION
@ TK_STEP_TRANSFORMATION
TK_STEP_PRAGMA
Definition:
step_bison_parser.h:84
TK_COLON
@ TK_COLON
TK_RPAREN
Definition:
step_bison_parser.h:61
TK_OMP_END
@ TK_OMP_END
TK_OMP_LOOP
Definition:
step_bison_parser.h:70
TK_OMP_REDUCTION
@ TK_OMP_REDUCTION
TK_OMP_NOWAIT
Definition:
step_bison_parser.h:78
TK_COMMA
@ TK_COMMA
TK_COLON
Definition:
step_bison_parser.h:62
TK_RPAREN
@ TK_RPAREN
TK_LPAREN
Definition:
step_bison_parser.h:60
TK_OMP_COPYIN
@ TK_OMP_COPYIN
TK_OMP_DEFAULT
Definition:
step_bison_parser.h:80
TK_OMP_BARRIER
@ TK_OMP_BARRIER
TK_OMP_END
Definition:
step_bison_parser.h:71
TK_STEP_PRAGMA
@ TK_STEP_PRAGMA
TK_OMP_SCHEDULE
Definition:
step_bison_parser.h:83
YYUNDEF
@ YYUNDEF
error
Definition:
step_bison_parser.h:56
TK_OMP_LOOP
@ TK_OMP_LOOP
TK_OMP_PARALLEL
Definition:
step_bison_parser.h:69
TK_OMP_MASTER
@ TK_OMP_MASTER
TK_OMP_BARRIER
Definition:
step_bison_parser.h:72
TK_OMP_THREADPRIVATE
@ TK_OMP_THREADPRIVATE
TK_OMP_SINGLE
Definition:
step_bison_parser.h:74
TK_OMP_PRAGMA
@ TK_OMP_PRAGMA
TK_RAW
Definition:
step_bison_parser.h:67
TK_OPERATOR
@ TK_OPERATOR
TK_COMMENT
Definition:
step_bison_parser.h:65
TK_IDENT
@ TK_IDENT
TK_COMMA
Definition:
step_bison_parser.h:63
TK_OMP_SCHEDULE
@ TK_OMP_SCHEDULE
TK_OMP_FIRSTPRIVATE
Definition:
step_bison_parser.h:82
TK_RAW
@ TK_RAW
TK_OPERATOR
Definition:
step_bison_parser.h:66
TK_OMP_SINGLE
@ TK_OMP_SINGLE
TK_OMP_MASTER
Definition:
step_bison_parser.h:73
TK_OMP_PRIVATE
@ TK_OMP_PRIVATE
TK_OMP_SHARED
Definition:
step_bison_parser.h:76
step_lexerparse
int step_lexerparse(void)
step_lexerdebug
int step_lexerdebug
step_lexerlval
YYSTYPE step_lexerlval
yytoken_kind_t
enum yytokentype yytoken_kind_t
Definition:
step_bison_parser.h:86
_newgen_struct_step_clause_
Definition:
step_private.h:270
_newgen_struct_step_directive_
Definition:
step_private.h:420
cons
The structure used to build lists in NewGen.
Definition:
newgen_list.h:41
YYSTYPE
Value type.
Definition:
genread.h:115
YYSTYPE::step_clause
step_clause step_clause
Definition:
step_bison_parser.h:99
YYSTYPE::liste
cons * liste
Definition:
cyacc.h:183
YYSTYPE::step_directive
step_directive step_directive
Definition:
step_bison_parser.h:98
YYSTYPE::integer
int integer
Definition:
cyacc.h:190
YYSTYPE::string
char * string
Definition:
step_bison_parser.h:95
pips
src
Libs
step
step_bison_parser.h
Generated on Thu Sep 26 2024 22:11:47 for PIPS by
1.9.1