]> git.ipfire.org Git - thirdparty/bash.git/blob - y.tab.h
Bash-5.2 patch 26: fix typo when specifying readline's custom color prefix
[thirdparty/bash.git] / y.tab.h
1 /* A Bison parser, made by GNU Bison 3.0.5. */
2
3 /* Bison interface for Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018 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_YY_Y_TAB_H_INCLUDED
34 # define YY_YY_Y_TAB_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46 enum yytokentype
47 {
48 IF = 258,
49 THEN = 259,
50 ELSE = 260,
51 ELIF = 261,
52 FI = 262,
53 CASE = 263,
54 ESAC = 264,
55 FOR = 265,
56 SELECT = 266,
57 WHILE = 267,
58 UNTIL = 268,
59 DO = 269,
60 DONE = 270,
61 FUNCTION = 271,
62 COPROC = 272,
63 COND_START = 273,
64 COND_END = 274,
65 COND_ERROR = 275,
66 IN = 276,
67 BANG = 277,
68 TIME = 278,
69 TIMEOPT = 279,
70 TIMEIGN = 280,
71 WORD = 281,
72 ASSIGNMENT_WORD = 282,
73 REDIR_WORD = 283,
74 NUMBER = 284,
75 ARITH_CMD = 285,
76 ARITH_FOR_EXPRS = 286,
77 COND_CMD = 287,
78 AND_AND = 288,
79 OR_OR = 289,
80 GREATER_GREATER = 290,
81 LESS_LESS = 291,
82 LESS_AND = 292,
83 LESS_LESS_LESS = 293,
84 GREATER_AND = 294,
85 SEMI_SEMI = 295,
86 SEMI_AND = 296,
87 SEMI_SEMI_AND = 297,
88 LESS_LESS_MINUS = 298,
89 AND_GREATER = 299,
90 AND_GREATER_GREATER = 300,
91 LESS_GREATER = 301,
92 GREATER_BAR = 302,
93 BAR_AND = 303,
94 yacc_EOF = 304
95 };
96 #endif
97 /* Tokens. */
98 #define IF 258
99 #define THEN 259
100 #define ELSE 260
101 #define ELIF 261
102 #define FI 262
103 #define CASE 263
104 #define ESAC 264
105 #define FOR 265
106 #define SELECT 266
107 #define WHILE 267
108 #define UNTIL 268
109 #define DO 269
110 #define DONE 270
111 #define FUNCTION 271
112 #define COPROC 272
113 #define COND_START 273
114 #define COND_END 274
115 #define COND_ERROR 275
116 #define IN 276
117 #define BANG 277
118 #define TIME 278
119 #define TIMEOPT 279
120 #define TIMEIGN 280
121 #define WORD 281
122 #define ASSIGNMENT_WORD 282
123 #define REDIR_WORD 283
124 #define NUMBER 284
125 #define ARITH_CMD 285
126 #define ARITH_FOR_EXPRS 286
127 #define COND_CMD 287
128 #define AND_AND 288
129 #define OR_OR 289
130 #define GREATER_GREATER 290
131 #define LESS_LESS 291
132 #define LESS_AND 292
133 #define LESS_LESS_LESS 293
134 #define GREATER_AND 294
135 #define SEMI_SEMI 295
136 #define SEMI_AND 296
137 #define SEMI_SEMI_AND 297
138 #define LESS_LESS_MINUS 298
139 #define AND_GREATER 299
140 #define AND_GREATER_GREATER 300
141 #define LESS_GREATER 301
142 #define GREATER_BAR 302
143 #define BAR_AND 303
144 #define yacc_EOF 304
145
146 /* Value type. */
147 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
148
149 union YYSTYPE
150 {
151 #line 328 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1910 */
152
153 WORD_DESC *word; /* the word that we read. */
154 int number; /* the number that we read. */
155 WORD_LIST *word_list;
156 COMMAND *command;
157 REDIRECT *redirect;
158 ELEMENT element;
159 PATTERN_LIST *pattern;
160
161 #line 162 "y.tab.h" /* yacc.c:1910 */
162 };
163
164 typedef union YYSTYPE YYSTYPE;
165 # define YYSTYPE_IS_TRIVIAL 1
166 # define YYSTYPE_IS_DECLARED 1
167 #endif
168
169
170 extern YYSTYPE yylval;
171
172 int yyparse (void);
173
174 #endif /* !YY_YY_Y_TAB_H_INCLUDED */