summaryrefslogtreecommitdiff
path: root/y.tab.h
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>1996-08-26 18:22:31 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:49 +0000
commit726f63884db0132f01745f1fb4465e6621088ccf (patch)
tree6c2f7765a890a97e0e513cb539df43283a8f7c4d /y.tab.h
downloadbash-726f63884db0132f01745f1fb4465e6621088ccf.tar.gz
Imported from ../bash-1.14.7.tar.gz.
Diffstat (limited to 'y.tab.h')
-rw-r--r--y.tab.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/y.tab.h b/y.tab.h
new file mode 100644
index 00000000..7ba3b282
--- /dev/null
+++ b/y.tab.h
@@ -0,0 +1,43 @@
+typedef union {
+ WORD_DESC *word; /* the word that we read. */
+ int number; /* the number that we read. */
+ WORD_LIST *word_list;
+ COMMAND *command;
+ 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 WORD 274
+#define ASSIGNMENT_WORD 275
+#define NUMBER 276
+#define AND_AND 277
+#define OR_OR 278
+#define GREATER_GREATER 279
+#define LESS_LESS 280
+#define LESS_AND 281
+#define GREATER_AND 282
+#define SEMI_SEMI 283
+#define LESS_LESS_MINUS 284
+#define AND_GREATER 285
+#define LESS_GREATER 286
+#define GREATER_BAR 287
+#define yacc_EOF 288
+
+
+extern YYSTYPE yylval;