aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/parse.h')
-rw-r--r--sys/cmd/rc/parse.h82
1 files changed, 45 insertions, 37 deletions
diff --git a/sys/cmd/rc/parse.h b/sys/cmd/rc/parse.h
index 64d567a..5955904 100644
--- a/sys/cmd/rc/parse.h
+++ b/sys/cmd/rc/parse.h
@@ -54,26 +54,30 @@ extern int yydebug;
YYEOF = 0, /* "end of file" */
YYerror = 256, /* error */
YYUNDEF = 257, /* "invalid token" */
- Tword = 258, /* Tword */
- Twords = 259, /* Twords */
- Tif = 260, /* Tif */
- Telse = 261, /* Telse */
- Tbang = 262, /* Tbang */
- Tsubshell = 263, /* Tsubshell */
- Toror = 264, /* Toror */
- Tandand = 265, /* Tandand */
- There = 266, /* There */
- Tredir = 267, /* Tredir */
- Tpipe = 268, /* Tpipe */
+ Tfor = 258, /* Tfor */
+ Tin = 259, /* Tin */
+ Twhile = 260, /* Twhile */
+ Tif = 261, /* Tif */
+ Telse = 262, /* Telse */
+ Tswitch = 263, /* Tswitch */
+ Ttwiddle = 264, /* Ttwiddle */
+ Tbang = 265, /* Tbang */
+ Tsubshell = 266, /* Tsubshell */
+ Tfunc = 267, /* Tfunc */
+ Tredir = 268, /* Tredir */
Tdup = 269, /* Tdup */
- Tbasic = 270, /* Tbasic */
- Tparen = 271, /* Tparen */
- Tblock = 272, /* Tblock */
+ Tpipe = 270, /* Tpipe */
+ Tindex = 271, /* Tindex */
+ Tbasic = 272, /* Tbasic */
Targs = 273, /* Targs */
- Tindex = 274, /* Tindex */
- Twhile = 275, /* Twhile */
- Tcount = 276, /* Tcount */
- Tjoin = 277 /* Tjoin */
+ Tword = 274, /* Tword */
+ Twords = 275, /* Twords */
+ Tparen = 276, /* Tparen */
+ Tblock = 277, /* Tblock */
+ Tandand = 278, /* Tandand */
+ Toror = 279, /* Toror */
+ Tcount = 280, /* Tcount */
+ Tjoin = 281 /* Tjoin */
};
typedef enum yytokentype yytoken_kind_t;
#endif
@@ -82,26 +86,30 @@ extern int yydebug;
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
-#define Tword 258
-#define Twords 259
-#define Tif 260
-#define Telse 261
-#define Tbang 262
-#define Tsubshell 263
-#define Toror 264
-#define Tandand 265
-#define There 266
-#define Tredir 267
-#define Tpipe 268
+#define Tfor 258
+#define Tin 259
+#define Twhile 260
+#define Tif 261
+#define Telse 262
+#define Tswitch 263
+#define Ttwiddle 264
+#define Tbang 265
+#define Tsubshell 266
+#define Tfunc 267
+#define Tredir 268
#define Tdup 269
-#define Tbasic 270
-#define Tparen 271
-#define Tblock 272
+#define Tpipe 270
+#define Tindex 271
+#define Tbasic 272
#define Targs 273
-#define Tindex 274
-#define Twhile 275
-#define Tcount 276
-#define Tjoin 277
+#define Tword 274
+#define Twords 275
+#define Tparen 276
+#define Tblock 277
+#define Tandand 278
+#define Toror 279
+#define Tcount 280
+#define Tjoin 281
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
@@ -111,7 +119,7 @@ union YYSTYPE
struct Tree *tree;
-#line 115 "sys/cmd/rc/parse.h"
+#line 123 "sys/cmd/rc/parse.h"
};
typedef union YYSTYPE YYSTYPE;