Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / parser-built
index 2acc11c..565b039 100644 (file)
@@ -1,3 +1,7 @@
+#ifndef BISON_Y_TAB_H
+# define BISON_Y_TAB_H
+
+#ifndef YYSTYPE
 typedef union {
   WORD_DESC *word;             /* the word that we read. */
   int number;                  /* the number that we read. */
@@ -6,40 +10,51 @@ typedef union {
   REDIRECT *redirect;
   ELEMENT element;
   PATTERN_LIST *pattern;
-} YYSTYPE;
-#define        IF      258
-#define        THEN    259
-#define        ELSE    260
-#define        ELIF    261
-#define        FI      262
-#define        CASE    263
-#define        ESAC    264
-#define        FOR     265
-#define        SELECT  266
-#define        WHILE   267
-#define        UNTIL   268
-#define        DO      269
-#define        DONE    270
-#define        FUNCTION        271
-#define        IN      272
-#define        BANG    273
-#define        TIME    274
-#define        TIMEOPT 275
-#define        WORD    276
-#define        ASSIGNMENT_WORD 277
-#define        NUMBER  278
-#define        AND_AND 279
-#define        OR_OR   280
-#define        GREATER_GREATER 281
-#define        LESS_LESS       282
-#define        LESS_AND        283
-#define        GREATER_AND     284
-#define        SEMI_SEMI       285
-#define        LESS_LESS_MINUS 286
-#define        AND_GREATER     287
-#define        LESS_GREATER    288
-#define        GREATER_BAR     289
-#define        yacc_EOF        290
+} yystype;
+# define YYSTYPE yystype
+#endif
+# define       IF      257
+# define       THEN    258
+# define       ELSE    259
+# define       ELIF    260
+# define       FI      261
+# define       CASE    262
+# define       ESAC    263
+# define       FOR     264
+# define       SELECT  265
+# define       WHILE   266
+# define       UNTIL   267
+# define       DO      268
+# define       DONE    269
+# define       FUNCTION        270
+# define       COND_START      271
+# define       COND_END        272
+# define       COND_ERROR      273
+# define       IN      274
+# define       BANG    275
+# define       TIME    276
+# define       TIMEOPT 277
+# define       WORD    278
+# define       ASSIGNMENT_WORD 279
+# define       NUMBER  280
+# define       ARITH_CMD       281
+# define       ARITH_FOR_EXPRS 282
+# define       COND_CMD        283
+# define       AND_AND 284
+# define       OR_OR   285
+# define       GREATER_GREATER 286
+# define       LESS_LESS       287
+# define       LESS_AND        288
+# define       LESS_LESS_LESS  289
+# define       GREATER_AND     290
+# define       SEMI_SEMI       291
+# define       LESS_LESS_MINUS 292
+# define       AND_GREATER     293
+# define       LESS_GREATER    294
+# define       GREATER_BAR     295
+# define       yacc_EOF        296
 
 
 extern YYSTYPE yylval;
+
+#endif /* not BISON_Y_TAB_H */