GnuCOBOL
2.0
A free COBOL compiler
Main Page
Data Structures
Files
File List
Globals
ppparse.h
Go to the documentation of this file.
1
/* A Bison parser, made by GNU Bison 3.0.4. */
2
3
/* Bison interface for Yacc-like parsers in C
4
5
Copyright (C) 1984, 1989-1990, 2000-2015 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_PP_PPPARSE_H_INCLUDED
34
# define YY_PP_PPPARSE_H_INCLUDED
35
/* Debug traces. */
36
#ifndef YYDEBUG
37
# define YYDEBUG 0
38
#endif
39
#if YYDEBUG
40
extern
int
ppdebug;
41
#endif
42
43
/* Token type. */
44
#ifndef YYTOKENTYPE
45
# define YYTOKENTYPE
46
enum
yytokentype
47
{
48
TOKEN_EOF
= 0,
49
ALSO
= 258,
50
BY
= 259,
51
COPY
= 260,
52
EQEQ
= 261,
53
IN
= 262,
54
LAST
= 263,
55
LEADING
= 264,
56
OF
= 265,
57
OFF
= 266,
58
PRINTING
= 267,
59
REPLACE
= 268,
60
REPLACING
= 269,
61
SUPPRESS
= 270,
62
TRAILING
= 271,
63
DOT
= 272,
64
GARBAGE
= 273,
65
SOURCE_DIRECTIVE
= 274,
66
FORMAT
= 275,
67
IS
= 276,
68
FIXED
= 277,
69
FREE
= 278,
70
DEFINE_DIRECTIVE
= 279,
71
AS
= 280,
72
PARAMETER
= 281,
73
OVERRIDE
= 282,
74
SET_DIRECTIVE
= 283,
75
CONSTANT
= 284,
76
SOURCEFORMAT
= 285,
77
FOLDCOPYNAME
= 286,
78
NOFOLDCOPYNAME
= 287,
79
IF_DIRECTIVE
= 288,
80
ELSE_DIRECTIVE
= 289,
81
ENDIF_DIRECTIVE
= 290,
82
ELIF_DIRECTIVE
= 291,
83
GE
= 292,
84
LE
= 293,
85
LT
= 294,
86
GT
= 295,
87
EQ
= 296,
88
NE
= 297,
89
NOT
= 298,
90
THAN
= 299,
91
TO
= 300,
92
OR
= 301,
93
EQUAL
= 302,
94
GREATER
= 303,
95
LESS
= 304,
96
SET
= 305,
97
DEFINED
= 306,
98
TURN_DIRECTIVE
= 307,
99
ON
= 308,
100
CHECKING
= 309,
101
WITH
= 310,
102
LOCATION
= 311,
103
TERMINATOR
= 312,
104
TOKEN
= 313,
105
VARIABLE
= 314,
106
LITERAL
= 315
107
};
108
#endif
109
110
/* Value type. */
111
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
112
113
union
YYSTYPE
114
{
115
#line 501 "ppparse.y"
/* yacc.c:1909 */
116
117
char
*
s
;
118
struct
cb_text_list
*
l
;
119
struct
cb_replace_list
*
r
;
120
struct
cb_define_struct
*
ds
;
121
unsigned
int
ui
;
122
int
si
;
123
124
#line 125 "ppparse.h"
/* yacc.c:1909 */
125
};
126
127
typedef
union
YYSTYPE
YYSTYPE
;
128
# define YYSTYPE_IS_TRIVIAL 1
129
# define YYSTYPE_IS_DECLARED 1
130
#endif
131
132
133
extern
YYSTYPE
pplval
;
134
135
int
ppparse
(
void
);
136
137
#endif
/* !YY_PP_PPPARSE_H_INCLUDED */
OF
Definition:
ppparse.h:56
ppparse
int ppparse(void)
Definition:
ppparse.c:1656
EQ
Definition:
ppparse.h:87
LITERAL
Definition:
ppparse.h:106
ENDIF_DIRECTIVE
Definition:
ppparse.h:81
OR
Definition:
ppparse.h:92
YYSTYPE::ds
struct cb_define_struct * ds
Definition:
ppparse.c:652
OFF
Definition:
ppparse.h:57
CONSTANT
Definition:
ppparse.h:75
ON
Definition:
ppparse.h:99
PRINTING
Definition:
ppparse.h:58
SOURCE_DIRECTIVE
Definition:
ppparse.h:65
DEFINE_DIRECTIVE
Definition:
ppparse.h:70
VARIABLE
Definition:
ppparse.h:105
pplval
YYSTYPE pplval
cb_define_struct
Definition:
cobc.h:176
LESS
Definition:
ppparse.h:95
THAN
Definition:
ppparse.h:90
NOFOLDCOPYNAME
Definition:
ppparse.h:78
REPLACING
Definition:
ppparse.h:60
TERMINATOR
Definition:
ppparse.h:103
TO
Definition:
ppparse.h:91
YYSTYPE::ui
unsigned int ui
Definition:
ppparse.c:653
YYSTYPE::r
struct cb_replace_list * r
Definition:
ppparse.c:651
CHECKING
Definition:
ppparse.h:100
COPY
Definition:
ppparse.h:51
FOLDCOPYNAME
Definition:
ppparse.h:77
GREATER
Definition:
ppparse.h:94
SET
Definition:
ppparse.h:96
TOKEN_EOF
Definition:
ppparse.h:48
YYSTYPE::s
char * s
Definition:
ppparse.c:649
FORMAT
Definition:
ppparse.h:66
LEADING
Definition:
ppparse.h:55
EQUAL
Definition:
ppparse.h:93
YYSTYPE::l
struct cb_text_list * l
Definition:
ppparse.c:650
GT
Definition:
ppparse.h:86
REPLACE
Definition:
ppparse.h:59
LAST
Definition:
ppparse.h:54
ELIF_DIRECTIVE
Definition:
ppparse.h:82
ALSO
Definition:
ppparse.h:49
DOT
Definition:
ppparse.h:63
GARBAGE
Definition:
ppparse.h:64
WITH
Definition:
ppparse.h:101
NE
Definition:
ppparse.h:88
LT
Definition:
ppparse.h:85
TOKEN
Definition:
ppparse.h:104
AS
Definition:
ppparse.h:71
FREE
Definition:
ppparse.h:69
YYSTYPE::si
int si
Definition:
ppparse.c:654
cb_replace_list
Definition:
cobc.h:166
YYSTYPE
Definition:
ppparse.c:645
yytokentype
yytokentype
Definition:
parser.c:1343
TURN_DIRECTIVE
Definition:
ppparse.h:98
FIXED
Definition:
ppparse.h:68
GE
Definition:
ppparse.h:83
TRAILING
Definition:
ppparse.h:62
LE
Definition:
ppparse.h:84
PARAMETER
Definition:
ppparse.h:72
ELSE_DIRECTIVE
Definition:
ppparse.h:80
IS
Definition:
ppparse.h:67
IN
Definition:
ppparse.h:53
IF_DIRECTIVE
Definition:
ppparse.h:79
cb_text_list
Definition:
cobc.h:159
NOT
Definition:
ppparse.h:89
LOCATION
Definition:
ppparse.h:102
SET_DIRECTIVE
Definition:
ppparse.h:74
OVERRIDE
Definition:
ppparse.h:73
SOURCEFORMAT
Definition:
ppparse.h:76
BY
Definition:
ppparse.h:50
DEFINED
Definition:
ppparse.h:97
SUPPRESS
Definition:
ppparse.h:61
EQEQ
Definition:
ppparse.h:52
cobc
ppparse.h
Generated by
1.8.9.1