summaryrefslogtreecommitdiff
path: root/parser-built
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2002-07-17 14:10:11 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:55 +0000
commit7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (patch)
treeb792f26ecca68813c51ed5ba2e381790758ef31b /parser-built
parentf73dda092b33638d2d5e9c35375f687a607b5403 (diff)
downloadbash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.tar.gz
Imported from ../bash-2.05b.tar.gz.devel-base-dist
Diffstat (limited to 'parser-built')
-rw-r--r--parser-built89
1 files changed, 49 insertions, 40 deletions
diff --git a/parser-built b/parser-built
index f371cab5..565b0399 100644
--- a/parser-built
+++ b/parser-built
@@ -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,46 +10,51 @@ typedef union {
REDIRECT *redirect;
ELEMENT element;
PATTERN_LIST *pattern;
-} YYSTYPE;
-#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 GREATER_AND 289
-#define SEMI_SEMI 290
-#define LESS_LESS_MINUS 291
-#define AND_GREATER 292
-#define LESS_GREATER 293
-#define GREATER_BAR 294
-#define yacc_EOF 295
+} 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 */