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
65 ASSIGNMENT_WORD
= 281,
68 ARITH_FOR_EXPRS
= 284,
72 GREATER_GREATER
= 288,
80 LESS_LESS_MINUS
= 296,
82 AND_GREATER_GREATER
= 298,
105 #define COND_START 273
107 #define COND_ERROR 275
113 #define ASSIGNMENT_WORD 281
115 #define ARITH_CMD 283
116 #define ARITH_FOR_EXPRS 284
120 #define GREATER_GREATER 288
121 #define LESS_LESS 289
123 #define LESS_LESS_LESS 291
124 #define GREATER_AND 292
125 #define SEMI_SEMI 293
127 #define SEMI_SEMI_AND 295
128 #define LESS_LESS_MINUS 296
129 #define AND_GREATER 297
130 #define AND_GREATER_GREATER 298
131 #define LESS_GREATER 299
132 #define GREATER_BAR 300
139 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
140 typedef union YYSTYPE
141 #line 316 "/Users/chet/src/bash/src/parse.y"
143 WORD_DESC
*word
; /* the word that we read. */
144 int number
; /* the number that we read. */
145 WORD_LIST
*word_list
;
149 PATTERN_LIST
*pattern
;
151 /* Line 1489 of yacc.c. */
154 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
155 # define YYSTYPE_IS_DECLARED 1
156 # define YYSTYPE_IS_TRIVIAL 1
159 extern YYSTYPE yylval
;