]>
Commit | Line | Data |
---|---|---|
28ef6c31 JA |
1 | #ifndef YYERRCODE |
2 | #define YYERRCODE 256 | |
3 | #endif | |
4 | ||
5 | #define IF 257 | |
6 | #define THEN 258 | |
7 | #define ELSE 259 | |
8 | #define ELIF 260 | |
9 | #define FI 261 | |
10 | #define CASE 262 | |
11 | #define ESAC 263 | |
12 | #define FOR 264 | |
13 | #define SELECT 265 | |
14 | #define WHILE 266 | |
15 | #define UNTIL 267 | |
16 | #define DO 268 | |
17 | #define DONE 269 | |
18 | #define FUNCTION 270 | |
19 | #define COND_START 271 | |
20 | #define COND_END 272 | |
21 | #define COND_ERROR 273 | |
22 | #define IN 274 | |
23 | #define BANG 275 | |
24 | #define TIME 276 | |
25 | #define TIMEOPT 277 | |
26 | #define WORD 278 | |
27 | #define ASSIGNMENT_WORD 279 | |
28 | #define NUMBER 280 | |
29 | #define ARITH_CMD 281 | |
30 | #define ARITH_FOR_EXPRS 282 | |
31 | #define COND_CMD 283 | |
32 | #define AND_AND 284 | |
33 | #define OR_OR 285 | |
34 | #define GREATER_GREATER 286 | |
35 | #define LESS_LESS 287 | |
36 | #define LESS_AND 288 | |
37 | #define GREATER_AND 289 | |
38 | #define SEMI_SEMI 290 | |
39 | #define LESS_LESS_MINUS 291 | |
40 | #define AND_GREATER 292 | |
41 | #define LESS_GREATER 293 | |
42 | #define GREATER_BAR 294 | |
43 | #define yacc_EOF 295 | |
726f6388 JA |
44 | typedef union { |
45 | WORD_DESC *word; /* the word that we read. */ | |
46 | int number; /* the number that we read. */ | |
47 | WORD_LIST *word_list; | |
48 | COMMAND *command; | |
49 | REDIRECT *redirect; | |
50 | ELEMENT element; | |
51 | PATTERN_LIST *pattern; | |
52 | } YYSTYPE; | |
726f6388 | 53 | extern YYSTYPE yylval; |