GnuCOBOL  2.0
A free COBOL compiler
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
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,
66  FORMAT = 275,
67  IS = 276,
68  FIXED = 277,
69  FREE = 278,
71  AS = 280,
72  PARAMETER = 281,
73  OVERRIDE = 282,
75  CONSTANT = 284,
76  SOURCEFORMAT = 285,
77  FOLDCOPYNAME = 286,
79  IF_DIRECTIVE = 288,
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,
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 */
Definition: ppparse.h:56
int ppparse(void)
Definition: ppparse.c:1656
Definition: ppparse.h:87
Definition: ppparse.h:92
struct cb_define_struct * ds
Definition: ppparse.c:652
Definition: ppparse.h:57
Definition: ppparse.h:99
YYSTYPE pplval
Definition: ppparse.h:95
Definition: ppparse.h:90
Definition: ppparse.h:91
unsigned int ui
Definition: ppparse.c:653
struct cb_replace_list * r
Definition: ppparse.c:651
Definition: ppparse.h:51
Definition: ppparse.h:96
char * s
Definition: ppparse.c:649
Definition: ppparse.h:66
Definition: ppparse.h:93
struct cb_text_list * l
Definition: ppparse.c:650
Definition: ppparse.h:86
Definition: ppparse.h:54
Definition: ppparse.h:49
Definition: ppparse.h:63
Definition: ppparse.h:101
Definition: ppparse.h:88
Definition: ppparse.h:85
Definition: ppparse.h:104
Definition: ppparse.h:71
Definition: ppparse.h:69
int si
Definition: ppparse.c:654
yytokentype
Definition: parser.c:1343
Definition: ppparse.h:68
Definition: ppparse.h:83
Definition: ppparse.h:84
Definition: ppparse.h:67
Definition: ppparse.h:53
Definition: ppparse.h:89
Definition: ppparse.h:50
Definition: ppparse.h:52