summaryrefslogtreecommitdiff
path: root/parser-built
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>1997-06-05 14:59:13 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:50 +0000
commitd166f048818e10cf3799aa24a174fb22835f1acc (patch)
tree1ca27f9243900f8b236d0cde6a3862002aea9e19 /parser-built
parentccc6cda312fea9f0468ee65b8f368e9653e1380b (diff)
downloadbash-d166f048818e10cf3799aa24a174fb22835f1acc.tar.gz
Imported from ../bash-2.01.tar.gz.
Diffstat (limited to 'parser-built')
-rw-r--r--parser-built45
1 files changed, 45 insertions, 0 deletions
diff --git a/parser-built b/parser-built
index e69de29b..2acc11ca 100644
--- a/parser-built
+++ b/parser-built
@@ -0,0 +1,45 @@
+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 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
+
+
+extern YYSTYPE yylval;