00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef YYTOKENTYPE
00038 # define YYTOKENTYPE
00039
00040
00041 enum yytokentype {
00042 IF = 258,
00043 THEN = 259,
00044 ELSE = 260,
00045 ELIF = 261,
00046 FI = 262,
00047 CASE = 263,
00048 IN = 264,
00049 ESAC = 265,
00050 FOR = 266,
00051 WHILE = 267,
00052 UNTIL = 268,
00053 DO = 269,
00054 DONE = 270,
00055 SEMI_SEMI = 271,
00056 AND_AND = 272,
00057 OR_OR = 273,
00058 LESS_LESS = 274,
00059 GREATER_GREATER = 275,
00060 LESS_AND = 276,
00061 GREATER_AND = 277,
00062 AND_GREATER = 278,
00063 LESS_GREATER = 279,
00064 GREATER_BAR = 280,
00065 LESS_LESS_MINUS = 281,
00066 WORD = 282,
00067 ASSIGNMENT_WORD = 283,
00068 SELECT = 284,
00069 FUNCTION = 285,
00070 BANG = 286,
00071 vsh_EOF = 287
00072 };
00073 #endif
00074
00075 #define IF 258
00076 #define THEN 259
00077 #define ELSE 260
00078 #define ELIF 261
00079 #define FI 262
00080 #define CASE 263
00081 #define IN 264
00082 #define ESAC 265
00083 #define FOR 266
00084 #define WHILE 267
00085 #define UNTIL 268
00086 #define DO 269
00087 #define DONE 270
00088 #define SEMI_SEMI 271
00089 #define AND_AND 272
00090 #define OR_OR 273
00091 #define LESS_LESS 274
00092 #define GREATER_GREATER 275
00093 #define LESS_AND 276
00094 #define GREATER_AND 277
00095 #define AND_GREATER 278
00096 #define LESS_GREATER 279
00097 #define GREATER_BAR 280
00098 #define LESS_LESS_MINUS 281
00099 #define WORD 282
00100 #define ASSIGNMENT_WORD 283
00101 #define SELECT 284
00102 #define FUNCTION 285
00103 #define BANG 286
00104 #define vsh_EOF 287
00105
00106
00107
00108
00109 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00110 typedef union YYSTYPE
00111
00112 {
00113 WORD_DESC *word;
00114
00115 WORD_LIST *word_list;
00116 COMMAND *command;
00117 REDIRECT *redirect;
00118 ELEMENT element;
00119 PATTERN_LIST *pattern;
00120 }
00121
00122
00123 YYSTYPE;
00124 # define yystype YYSTYPE
00125 # define YYSTYPE_IS_DECLARED 1
00126 # define YYSTYPE_IS_TRIVIAL 1
00127 #endif
00128
00129 extern YYSTYPE yylval;
00130