1
/* A Bison parser, made by GNU Bison 2.3. */
3
/* Skeleton interface for Bison's Yacc-like parsers in C
5
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6
Free Software Foundation, Inc.
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 2, or (at your option)
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.
18
You should have received a copy of the GNU General Public License
19
along with this program; if not, write to the Free Software
20
Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
Boston, MA 02110-1301, USA. */
23
/* As a special exception, you may create a larger work that contains
24
part or all of the Bison parser skeleton and distribute that work
25
under terms of your choice, so long as that work isn't itself a
26
parser generator using the skeleton or a modified version thereof
27
as a parser skeleton. Alternatively, if you modify or redistribute
28
the parser skeleton itself, you may (at your option) remove this
29
special exception, which will cause the skeleton and the resulting
30
Bison output files to be licensed under the GNU General Public
31
License without this special exception.
33
This special exception was added by the Free Software Foundation in
34
version 2.2 of Bison. */
39
/* Put the tokens into the symbol table, so that GDB and other debuggers
66
ASSIGNMENT_WORD = 282,
70
ARITH_FOR_EXPRS = 286,
74
GREATER_GREATER = 290,
82
LESS_LESS_MINUS = 298,
84
AND_GREATER_GREATER = 300,
107
#define COND_START 273
109
#define COND_ERROR 275
116
#define ASSIGNMENT_WORD 282
117
#define REDIR_WORD 283
119
#define ARITH_CMD 285
120
#define ARITH_FOR_EXPRS 286
124
#define GREATER_GREATER 290
125
#define LESS_LESS 291
127
#define LESS_LESS_LESS 293
128
#define GREATER_AND 294
129
#define SEMI_SEMI 295
131
#define SEMI_SEMI_AND 297
132
#define LESS_LESS_MINUS 298
133
#define AND_GREATER 299
134
#define AND_GREATER_GREATER 300
135
#define LESS_GREATER 301
136
#define GREATER_BAR 302
143
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
144
typedef union YYSTYPE
145
#line 324 "/usr/homes/chet/src/bash/src/parse.y"
147
WORD_DESC *word; /* the word that we read. */
148
int number; /* the number that we read. */
149
WORD_LIST *word_list;
153
PATTERN_LIST *pattern;
155
/* Line 1529 of yacc.c. */
158
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
159
# define YYSTYPE_IS_DECLARED 1
160
# define YYSTYPE_IS_TRIVIAL 1
163
extern YYSTYPE yylval;