#define YYPREFIX "yy"
#line 2 "gram.y"
/*
- * Copyright (c) 1996, 1998-2005, 2007-2008
+ * Copyright (c) 1996, 1998-2005, 2007-2009
* Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
#define EXEC 272
#define SETENV 273
#define NOSETENV 274
-#define ALL 275
-#define COMMENT 276
-#define HOSTALIAS 277
-#define CMNDALIAS 278
-#define USERALIAS 279
-#define RUNASALIAS 280
-#define ERROR 281
-#define TYPE 282
-#define ROLE 283
+#define SCRIPT 275
+#define NOSCRIPT 276
+#define ALL 277
+#define COMMENT 278
+#define HOSTALIAS 279
+#define CMNDALIAS 280
+#define USERALIAS 281
+#define RUNASALIAS 282
+#define ERROR 283
+#define TYPE 284
+#define ROLE 285
#define YYERRCODE 256
#if defined(__cplusplus) || defined(__STDC__)
const short yylhs[] =
3, 3, 3, 20, 20, 19, 10, 10, 8, 8,
8, 8, 8, 2, 2, 1, 6, 6, 23, 24,
22, 22, 22, 22, 22, 17, 17, 18, 18, 18,
- 21, 21, 21, 21, 21, 21, 21, 5, 5, 5,
- 28, 28, 31, 9, 9, 29, 29, 32, 7, 7,
- 30, 30, 33, 27, 27, 34, 13, 13, 11, 11,
- 12, 12, 12, 12, 12, 16, 16, 14, 14, 15,
- 15, 15,
+ 21, 21, 21, 21, 21, 21, 21, 21, 21, 5,
+ 5, 5, 28, 28, 31, 9, 9, 29, 29, 32,
+ 7, 7, 30, 30, 33, 27, 27, 34, 13, 13,
+ 11, 11, 12, 12, 12, 12, 12, 16, 16, 14,
+ 14, 15, 15, 15,
};
#if defined(__cplusplus) || defined(__STDC__)
const short yylen[] =
3, 3, 3, 1, 3, 3, 1, 2, 1, 1,
1, 1, 1, 1, 3, 4, 1, 2, 3, 3,
0, 1, 1, 2, 2, 0, 3, 1, 3, 2,
- 0, 2, 2, 2, 2, 2, 2, 1, 1, 1,
- 1, 3, 3, 1, 3, 1, 3, 3, 1, 3,
- 1, 3, 3, 1, 3, 3, 1, 3, 1, 2,
- 1, 1, 1, 1, 1, 1, 3, 1, 2, 1,
- 1, 1,
+ 0, 2, 2, 2, 2, 2, 2, 2, 2, 1,
+ 1, 1, 1, 3, 3, 1, 3, 1, 3, 3,
+ 1, 3, 1, 3, 3, 1, 3, 3, 1, 3,
+ 1, 2, 1, 1, 1, 1, 1, 1, 3, 1,
+ 2, 1, 1, 1,
};
#if defined(__cplusplus) || defined(__STDC__)
const short yydefred[] =
short yydefred[] =
#endif
{ 0,
- 0, 81, 83, 84, 85, 0, 0, 0, 0, 0,
- 82, 5, 0, 0, 0, 0, 0, 0, 77, 79,
+ 0, 83, 85, 86, 87, 0, 0, 0, 0, 0,
+ 84, 5, 0, 0, 0, 0, 0, 0, 79, 81,
0, 0, 3, 6, 0, 0, 17, 0, 29, 32,
- 31, 33, 30, 0, 27, 0, 64, 0, 0, 60,
- 59, 58, 0, 37, 69, 0, 0, 0, 61, 0,
- 0, 66, 0, 0, 74, 0, 0, 71, 80, 0,
+ 31, 33, 30, 0, 27, 0, 66, 0, 0, 62,
+ 61, 60, 0, 37, 71, 0, 0, 0, 63, 0,
+ 0, 68, 0, 0, 76, 0, 0, 73, 82, 0,
0, 24, 0, 4, 0, 0, 0, 20, 0, 28,
0, 0, 0, 0, 38, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 78, 0, 0, 21, 22,
- 23, 18, 65, 70, 0, 62, 0, 67, 0, 75,
- 0, 72, 0, 34, 0, 0, 25, 0, 0, 0,
- 0, 0, 0, 51, 0, 0, 90, 92, 91, 0,
- 86, 88, 0, 0, 47, 35, 0, 0, 0, 44,
- 45, 89, 0, 0, 40, 39, 52, 53, 54, 55,
- 56, 57, 36, 87,
+ 0, 0, 0, 0, 0, 80, 0, 0, 21, 22,
+ 23, 18, 67, 72, 0, 64, 0, 69, 0, 77,
+ 0, 74, 0, 34, 0, 0, 25, 0, 0, 0,
+ 0, 0, 0, 51, 0, 0, 92, 94, 93, 0,
+ 88, 90, 0, 0, 47, 35, 0, 0, 0, 44,
+ 45, 91, 0, 0, 40, 39, 52, 53, 54, 55,
+ 56, 57, 58, 59, 36, 89,
};
#if defined(__cplusplus) || defined(__STDC__)
const short yydgoto[] =
#else
short yysindex[] =
#endif
- { 405,
- -266, 0, 0, 0, 0, -9, 463, 510, 510, -2,
- 0, 0, -243, -218, -215, -211, -225, 0, 0, 0,
- -28, 405, 0, 0, -36, -210, 0, 4, 0, 0,
- 0, 0, 0, -231, 0, -33, 0, -25, -25, 0,
- 0, 0, -240, 0, 0, -21, -6, -1, 0, 2,
- 6, 0, 7, 8, 0, 9, 11, 0, 0, 510,
- -22, 0, 13, 0, -203, -201, -198, 0, -9, 0,
- 463, 4, 4, 4, 0, -2, 4, 463, -243, -2,
- -218, 510, -215, 510, -211, 0, 27, 463, 0, 0,
- 0, 0, 0, 0, 28, 0, 30, 0, 31, 0,
- 31, 0, 141, 0, 32, -262, 0, -27, -16, 36,
- 27, 18, 19, 0, -200, -202, 0, 0, 0, -217,
- 0, 0, 39, -27, 0, 0, -177, -175, 250, 0,
- 0, 0, -27, 39, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,};
+ { -26,
+ -272, 0, 0, 0, 0, -16, 481, 485, 485, -31,
+ 0, 0, -237, -232, -228, -227, -238, 0, 0, 0,
+ 417, -26, 0, 0, -2, -217, 0, 7, 0, 0,
+ 0, 0, 0, -223, 0, -28, 0, -25, -25, 0,
+ 0, 0, -248, 0, 0, -11, -14, -6, 0, -3,
+ -5, 0, -1, 4, 0, 2, 6, 0, 0, 485,
+ -17, 0, 8, 0, -198, -196, -195, 0, -16, 0,
+ 481, 7, 7, 7, 0, -31, 7, 481, -237, -31,
+ -232, 485, -228, 485, -227, 0, 29, 481, 0, 0,
+ 0, 0, 0, 0, 26, 0, 30, 0, 31, 0,
+ 31, 0, 457, 0, 32, -270, 0, -30, -8, 36,
+ 29, 11, 12, 0, -206, -205, 0, 0, 0, -245,
+ 0, 0, 35, -30, 0, 0, -182, -180, 453, 0,
+ 0, 0, -30, 35, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0,};
#if defined(__cplusplus) || defined(__STDC__)
const short yyrindex[] =
#else
short yyrindex[] =
#endif
- { 90,
+ { 84,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 91, 0, 0, 1, 0, 0, 156, 0, 0,
+ 0, 89, 0, 0, 1, 0, 0, 163, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 181, 0, 0,
- 206, 0, 0, 237, 0, 0, 274, 0, 0, 0,
- 0, 0, 300, 0, 0, 0, 0, 0, 0, 0,
- 0, 326, 352, 378, 0, 0, 430, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, -29, 0, 0, 0,
- 0, 0, 0, 0, 26, 0, 52, 0, 78, 0,
- 104, 0, 0, 0, 130, 442, 0, 0, 51, 0,
- -29, 0, 0, 0, 461, 485, 0, 0, 0, 0,
- 0, 0, 53, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 54, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,};
+ 0, 0, 0, 0, 0, 0, 0, 190, 0, 0,
+ 217, 0, 0, 244, 0, 0, 271, 0, 0, 0,
+ 0, 0, 298, 0, 0, 0, 0, 0, 0, 0,
+ 0, 325, 352, 379, 0, 0, 406, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 432, 0, 0, 0,
+ 0, 0, 0, 0, 28, 0, 55, 0, 82, 0,
+ 109, 0, 0, 0, 136, 480, 0, 0, 49, 0,
+ 432, 0, 0, 0, 507, 534, 0, 0, 0, 0,
+ 0, 0, 50, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 51, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0,};
#if defined(__cplusplus) || defined(__STDC__)
const short yygindex[] =
#else
short yygindex[] =
#endif
{ 0,
- -18, 0, 29, 15, 56, -73, 16, 63, -5, 34,
- 40, 84, 5, -31, -17, -15, 0, 0, 24, 0,
- 0, 0, -10, -8, 0, 92, 0, 0, 0, 0,
- 37, 38, 33, 41,
+ -18, 0, 25, 10, 52, -72, 16, 63, -7, 27,
+ 39, 83, 3, -32, -15, -22, 0, 0, 15, 0,
+ 0, 0, -12, -4, 0, 85, 0, 0, 0, 0,
+ 33, 37, 23, 34,
};
-#define YYTABLESIZE 785
+#define YYTABLESIZE 811
#if defined(__cplusplus) || defined(__STDC__)
const short yytable[] =
#else
short yytable[] =
#endif
- { 26,
- 19, 36, 94, 46, 34, 120, 66, 26, 67, 24,
- 71, 26, 38, 39, 47, 60, 40, 41, 60, 112,
- 113, 71, 76, 26, 65, 63, 29, 60, 30, 31,
- 43, 32, 2, 19, 42, 3, 4, 5, 87, 50,
- 117, 124, 53, 33, 19, 118, 56, 69, 68, 11,
- 72, 68, 73, 74, 78, 143, 79, 119, 63, 89,
- 77, 90, 80, 81, 91, 83, 103, 82, 85, 84,
- 88, 71, 95, 76, 60, 111, 125, 76, 127, 128,
- 113, 112, 133, 63, 68, 135, 99, 136, 101, 1,
- 2, 48, 126, 50, 49, 97, 70, 92, 75, 86,
- 59, 144, 132, 73, 93, 131, 130, 109, 134, 68,
- 76, 107, 0, 64, 0, 96, 0, 102, 98, 0,
- 0, 0, 0, 100, 0, 0, 0, 0, 0, 26,
- 0, 0, 0, 0, 0, 76, 73, 0, 0, 0,
+ { 36,
+ 19, 43, 120, 94, 26, 24, 17, 26, 40, 41,
+ 38, 39, 117, 112, 113, 71, 26, 118, 60, 2,
+ 47, 26, 3, 4, 5, 50, 71, 65, 42, 53,
+ 56, 119, 76, 19, 29, 60, 30, 31, 11, 32,
+ 66, 68, 67, 87, 19, 72, 78, 73, 74, 124,
+ 69, 79, 81, 33, 70, 77, 145, 80, 65, 82,
+ 65, 83, 84, 85, 89, 88, 90, 91, 103, 71,
+ 95, 127, 128, 76, 60, 111, 125, 112, 133, 113,
+ 135, 78, 136, 1, 99, 65, 101, 70, 2, 48,
+ 50, 49, 126, 92, 75, 97, 70, 93, 86, 59,
+ 146, 134, 107, 131, 132, 109, 64, 102, 75, 0,
+ 130, 96, 70, 0, 78, 0, 100, 98, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 12, 0, 0, 0, 0,
- 0, 73, 26, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 17, 0, 0, 0, 0, 0, 0,
- 9, 0, 0, 0, 0, 0, 0, 26, 12, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 108, 0,
- 0, 0, 0, 0, 0, 10, 0, 0, 0, 0,
- 0, 0, 0, 9, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 25, 0, 46, 46, 29,
- 117, 30, 31, 25, 32, 118, 8, 25, 10, 46,
- 46, 46, 46, 46, 46, 46, 33, 119, 0, 25,
- 0, 0, 46, 46, 40, 41, 19, 0, 19, 0,
- 0, 19, 19, 19, 19, 19, 19, 19, 19, 8,
- 0, 0, 42, 11, 0, 19, 19, 19, 19, 19,
- 19, 63, 43, 63, 0, 0, 63, 63, 63, 63,
- 63, 63, 63, 63, 0, 0, 0, 0, 0, 7,
- 63, 63, 63, 63, 63, 63, 11, 68, 0, 68,
- 0, 0, 68, 68, 68, 68, 68, 68, 68, 68,
- 0, 0, 0, 0, 0, 15, 68, 68, 68, 68,
- 68, 68, 7, 76, 0, 76, 0, 0, 76, 76,
- 76, 76, 76, 76, 76, 76, 0, 0, 0, 0,
- 0, 13, 76, 76, 76, 76, 76, 76, 15, 73,
- 0, 73, 0, 0, 73, 73, 73, 73, 73, 73,
- 73, 73, 0, 0, 0, 0, 0, 14, 73, 73,
- 73, 73, 73, 73, 13, 26, 0, 26, 0, 0,
- 26, 26, 26, 26, 26, 26, 26, 26, 2, 0,
- 0, 3, 4, 5, 26, 26, 26, 26, 26, 26,
- 14, 12, 0, 12, 0, 11, 12, 12, 12, 12,
- 12, 12, 12, 12, 0, 0, 0, 0, 0, 16,
- 12, 12, 12, 12, 12, 12, 9, 17, 9, 0,
- 0, 9, 9, 9, 9, 9, 9, 9, 9, 0,
- 0, 0, 0, 0, 0, 9, 9, 9, 9, 9,
- 9, 10, 16, 10, 0, 0, 10, 10, 10, 10,
- 10, 10, 10, 10, 41, 0, 0, 0, 0, 0,
- 10, 10, 10, 10, 10, 10, 0, 0, 0, 0,
- 0, 0, 8, 42, 8, 34, 0, 8, 8, 8,
- 8, 8, 8, 8, 8, 0, 40, 41, 0, 0,
- 0, 8, 8, 8, 8, 8, 8, 43, 137, 138,
- 139, 140, 141, 142, 42, 0, 0, 0, 0, 11,
- 0, 11, 0, 0, 11, 11, 11, 11, 11, 11,
- 11, 11, 17, 0, 0, 0, 0, 0, 11, 11,
- 11, 11, 11, 11, 0, 7, 0, 7, 0, 0,
- 7, 7, 7, 7, 7, 7, 7, 7, 0, 0,
+ 0, 0, 0, 0, 0, 26, 0, 0, 0, 78,
+ 0, 75, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 12, 0, 0, 0, 75, 0, 26, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 9,
+ 0, 0, 0, 26, 0, 12, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 10, 0, 0, 0,
+ 0, 0, 9, 0, 0, 40, 41, 117, 0, 1,
+ 25, 2, 118, 25, 3, 4, 5, 6, 7, 8,
+ 9, 10, 25, 8, 0, 42, 119, 25, 0, 10,
+ 11, 12, 13, 14, 15, 16, 19, 0, 19, 0,
+ 0, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 11, 0, 0, 0, 0, 0, 8, 19, 19, 19,
+ 19, 19, 19, 65, 0, 65, 0, 0, 65, 65,
+ 65, 65, 65, 65, 65, 65, 0, 7, 0, 0,
+ 0, 0, 0, 11, 65, 65, 65, 65, 65, 65,
+ 70, 0, 70, 0, 0, 70, 70, 70, 70, 70,
+ 70, 70, 70, 0, 15, 0, 0, 0, 0, 0,
+ 7, 70, 70, 70, 70, 70, 70, 78, 0, 78,
+ 0, 0, 78, 78, 78, 78, 78, 78, 78, 78,
+ 0, 13, 0, 0, 0, 0, 0, 15, 78, 78,
+ 78, 78, 78, 78, 75, 0, 75, 0, 0, 75,
+ 75, 75, 75, 75, 75, 75, 75, 0, 14, 0,
+ 0, 0, 0, 0, 13, 75, 75, 75, 75, 75,
+ 75, 26, 0, 26, 0, 0, 26, 26, 26, 26,
+ 26, 26, 26, 26, 0, 16, 0, 0, 0, 0,
+ 0, 14, 26, 26, 26, 26, 26, 26, 12, 0,
+ 12, 0, 0, 12, 12, 12, 12, 12, 12, 12,
+ 12, 0, 0, 0, 0, 0, 0, 0, 16, 12,
+ 12, 12, 12, 12, 12, 9, 0, 9, 0, 34,
+ 9, 9, 9, 9, 9, 9, 9, 9, 0, 0,
+ 60, 0, 0, 0, 46, 0, 9, 9, 9, 9,
+ 9, 9, 10, 0, 10, 0, 0, 10, 10, 10,
+ 10, 10, 10, 10, 10, 43, 0, 0, 0, 17,
+ 0, 0, 0, 10, 10, 10, 10, 10, 10, 8,
+ 0, 8, 0, 0, 8, 8, 8, 8, 8, 8,
+ 8, 8, 41, 34, 108, 0, 0, 17, 0, 0,
+ 8, 8, 8, 8, 8, 8, 11, 0, 11, 0,
+ 0, 11, 11, 11, 11, 11, 11, 11, 11, 42,
+ 0, 0, 0, 0, 0, 0, 0, 11, 11, 11,
+ 11, 11, 11, 7, 0, 7, 0, 0, 7, 7,
+ 7, 7, 7, 7, 7, 7, 43, 0, 0, 0,
0, 0, 0, 0, 7, 7, 7, 7, 7, 7,
- 0, 15, 0, 15, 0, 0, 15, 15, 15, 15,
- 15, 15, 15, 15, 0, 0, 0, 0, 0, 0,
- 15, 15, 15, 15, 15, 15, 0, 13, 0, 13,
+ 15, 0, 15, 0, 0, 15, 15, 15, 15, 15,
+ 15, 15, 15, 0, 0, 0, 0, 0, 0, 0,
+ 0, 15, 15, 15, 15, 15, 15, 13, 0, 13,
0, 0, 13, 13, 13, 13, 13, 13, 13, 13,
- 0, 0, 0, 0, 0, 0, 13, 13, 13, 13,
- 13, 13, 0, 14, 0, 14, 0, 0, 14, 14,
- 14, 14, 14, 14, 14, 14, 0, 0, 0, 0,
- 0, 0, 14, 14, 14, 14, 14, 14, 0, 0,
- 1, 0, 2, 0, 0, 3, 4, 5, 6, 7,
- 8, 9, 10, 0, 0, 0, 0, 0, 0, 11,
- 12, 13, 14, 15, 16, 16, 0, 16, 0, 0,
- 16, 16, 16, 16, 16, 16, 16, 16, 41, 41,
- 0, 0, 0, 0, 16, 16, 16, 16, 16, 16,
- 41, 41, 41, 41, 41, 41, 41, 42, 42, 0,
- 29, 0, 30, 31, 0, 32, 0, 0, 0, 42,
- 42, 42, 42, 42, 42, 42, 0, 33, 0, 0,
- 0, 43, 43, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 43, 43, 43, 43, 43, 43, 43,
- 0, 0, 0, 0, 0, 0, 0, 2, 0, 0,
- 3, 4, 5, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 11,
+ 0, 0, 0, 0, 0, 0, 0, 0, 13, 13,
+ 13, 13, 13, 13, 14, 0, 14, 0, 0, 14,
+ 14, 14, 14, 14, 14, 14, 14, 0, 0, 0,
+ 0, 0, 0, 0, 0, 14, 14, 14, 14, 14,
+ 14, 16, 0, 16, 0, 0, 16, 16, 16, 16,
+ 16, 16, 16, 16, 29, 0, 30, 31, 0, 32,
+ 0, 0, 16, 16, 16, 16, 16, 16, 46, 46,
+ 0, 0, 0, 33, 0, 0, 0, 0, 0, 0,
+ 46, 46, 46, 46, 46, 46, 46, 46, 46, 40,
+ 41, 0, 0, 0, 2, 46, 46, 3, 4, 5,
+ 0, 137, 138, 139, 140, 141, 142, 143, 144, 42,
+ 0, 0, 0, 11, 0, 0, 41, 41, 29, 0,
+ 30, 31, 2, 32, 0, 3, 4, 5, 41, 41,
+ 41, 41, 41, 41, 41, 41, 41, 33, 0, 0,
+ 0, 11, 0, 42, 42, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 42, 42, 42, 42, 42,
+ 42, 42, 42, 42, 0, 0, 0, 0, 0, 0,
+ 43, 43, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 43, 43, 43, 43, 43, 43, 43, 43,
+ 43,
};
#if defined(__cplusplus) || defined(__STDC__)
const short yycheck[] =
#else
short yycheck[] =
#endif
- { 33,
- 0, 7, 76, 33, 33, 33, 43, 33, 45, 276,
- 44, 33, 8, 9, 258, 44, 257, 258, 44, 282,
- 283, 44, 44, 33, 61, 0, 258, 44, 260, 261,
- 33, 263, 258, 33, 275, 261, 262, 263, 61, 258,
- 258, 58, 258, 275, 44, 263, 258, 44, 259, 275,
- 36, 0, 38, 39, 61, 129, 58, 275, 33, 263,
- 46, 263, 61, 58, 263, 58, 40, 61, 58, 61,
- 58, 44, 78, 44, 44, 44, 41, 0, 61, 61,
- 283, 282, 44, 58, 33, 263, 82, 263, 84, 0,
- 0, 41, 111, 41, 41, 80, 34, 69, 43, 60,
- 17, 133, 120, 0, 71, 116, 115, 103, 124, 58,
- 33, 88, -1, 22, -1, 79, -1, 85, 81, -1,
- -1, -1, -1, 83, -1, -1, -1, -1, -1, 0,
- -1, -1, -1, -1, -1, 58, 33, -1, -1, -1,
+ { 7,
+ 0, 33, 33, 76, 33, 278, 33, 33, 257, 258,
+ 8, 9, 258, 284, 285, 44, 33, 263, 44, 258,
+ 258, 33, 261, 262, 263, 258, 44, 0, 277, 258,
+ 258, 277, 44, 33, 258, 44, 260, 261, 277, 263,
+ 43, 259, 45, 61, 44, 36, 61, 38, 39, 58,
+ 44, 58, 58, 277, 0, 46, 129, 61, 61, 61,
+ 33, 58, 61, 58, 263, 58, 263, 263, 40, 44,
+ 78, 61, 61, 44, 44, 44, 41, 284, 44, 285,
+ 263, 0, 263, 0, 82, 58, 84, 33, 0, 41,
+ 41, 41, 111, 69, 43, 80, 34, 71, 60, 17,
+ 133, 124, 88, 116, 120, 103, 22, 85, 0, -1,
+ 115, 79, 58, -1, 33, -1, 83, 81, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 0, -1, -1, -1, -1,
- -1, 58, 33, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 33, -1, -1, -1, -1, -1, -1,
- 0, -1, -1, -1, -1, -1, -1, 58, 33, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 58, -1,
- -1, -1, -1, -1, -1, 0, -1, -1, -1, -1,
- -1, -1, -1, 33, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 259, -1, 257, 258, 258,
- 258, 260, 261, 259, 263, 263, 0, 259, 33, 269,
- 270, 271, 272, 273, 274, 275, 275, 275, -1, 259,
- -1, -1, 282, 283, 257, 258, 256, -1, 258, -1,
- -1, 261, 262, 263, 264, 265, 266, 267, 268, 33,
- -1, -1, 275, 0, -1, 275, 276, 277, 278, 279,
- 280, 256, 33, 258, -1, -1, 261, 262, 263, 264,
- 265, 266, 267, 268, -1, -1, -1, -1, -1, 0,
- 275, 276, 277, 278, 279, 280, 33, 256, -1, 258,
- -1, -1, 261, 262, 263, 264, 265, 266, 267, 268,
- -1, -1, -1, -1, -1, 0, 275, 276, 277, 278,
- 279, 280, 33, 256, -1, 258, -1, -1, 261, 262,
- 263, 264, 265, 266, 267, 268, -1, -1, -1, -1,
- -1, 0, 275, 276, 277, 278, 279, 280, 33, 256,
- -1, 258, -1, -1, 261, 262, 263, 264, 265, 266,
- 267, 268, -1, -1, -1, -1, -1, 0, 275, 276,
- 277, 278, 279, 280, 33, 256, -1, 258, -1, -1,
- 261, 262, 263, 264, 265, 266, 267, 268, 258, -1,
- -1, 261, 262, 263, 275, 276, 277, 278, 279, 280,
- 33, 256, -1, 258, -1, 275, 261, 262, 263, 264,
- 265, 266, 267, 268, -1, -1, -1, -1, -1, 0,
- 275, 276, 277, 278, 279, 280, 256, 33, 258, -1,
+ -1, -1, -1, -1, -1, 0, -1, -1, -1, 58,
+ -1, 33, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 0, -1, -1, -1, 58, -1, 33, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 0,
+ -1, -1, -1, 58, -1, 33, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 0, -1, -1, -1,
+ -1, -1, 33, -1, -1, 257, 258, 258, -1, 256,
+ 259, 258, 263, 259, 261, 262, 263, 264, 265, 266,
+ 267, 268, 259, 0, -1, 277, 277, 259, -1, 33,
+ 277, 278, 279, 280, 281, 282, 256, -1, 258, -1,
-1, 261, 262, 263, 264, 265, 266, 267, 268, -1,
- -1, -1, -1, -1, -1, 275, 276, 277, 278, 279,
- 280, 256, 33, 258, -1, -1, 261, 262, 263, 264,
- 265, 266, 267, 268, 33, -1, -1, -1, -1, -1,
- 275, 276, 277, 278, 279, 280, -1, -1, -1, -1,
- -1, -1, 256, 33, 258, 33, -1, 261, 262, 263,
- 264, 265, 266, 267, 268, -1, 257, 258, -1, -1,
- -1, 275, 276, 277, 278, 279, 280, 33, 269, 270,
- 271, 272, 273, 274, 275, -1, -1, -1, -1, 256,
- -1, 258, -1, -1, 261, 262, 263, 264, 265, 266,
- 267, 268, 33, -1, -1, -1, -1, -1, 275, 276,
- 277, 278, 279, 280, -1, 256, -1, 258, -1, -1,
- 261, 262, 263, 264, 265, 266, 267, 268, -1, -1,
- -1, -1, -1, -1, 275, 276, 277, 278, 279, 280,
- -1, 256, -1, 258, -1, -1, 261, 262, 263, 264,
- 265, 266, 267, 268, -1, -1, -1, -1, -1, -1,
- 275, 276, 277, 278, 279, 280, -1, 256, -1, 258,
+ 0, -1, -1, -1, -1, -1, 33, 277, 278, 279,
+ 280, 281, 282, 256, -1, 258, -1, -1, 261, 262,
+ 263, 264, 265, 266, 267, 268, -1, 0, -1, -1,
+ -1, -1, -1, 33, 277, 278, 279, 280, 281, 282,
+ 256, -1, 258, -1, -1, 261, 262, 263, 264, 265,
+ 266, 267, 268, -1, 0, -1, -1, -1, -1, -1,
+ 33, 277, 278, 279, 280, 281, 282, 256, -1, 258,
-1, -1, 261, 262, 263, 264, 265, 266, 267, 268,
- -1, -1, -1, -1, -1, -1, 275, 276, 277, 278,
- 279, 280, -1, 256, -1, 258, -1, -1, 261, 262,
- 263, 264, 265, 266, 267, 268, -1, -1, -1, -1,
- -1, -1, 275, 276, 277, 278, 279, 280, -1, -1,
+ -1, 0, -1, -1, -1, -1, -1, 33, 277, 278,
+ 279, 280, 281, 282, 256, -1, 258, -1, -1, 261,
+ 262, 263, 264, 265, 266, 267, 268, -1, 0, -1,
+ -1, -1, -1, -1, 33, 277, 278, 279, 280, 281,
+ 282, 256, -1, 258, -1, -1, 261, 262, 263, 264,
+ 265, 266, 267, 268, -1, 0, -1, -1, -1, -1,
+ -1, 33, 277, 278, 279, 280, 281, 282, 256, -1,
+ 258, -1, -1, 261, 262, 263, 264, 265, 266, 267,
+ 268, -1, -1, -1, -1, -1, -1, -1, 33, 277,
+ 278, 279, 280, 281, 282, 256, -1, 258, -1, 33,
+ 261, 262, 263, 264, 265, 266, 267, 268, -1, -1,
+ 44, -1, -1, -1, 33, -1, 277, 278, 279, 280,
+ 281, 282, 256, -1, 258, -1, -1, 261, 262, 263,
+ 264, 265, 266, 267, 268, 33, -1, -1, -1, 33,
+ -1, -1, -1, 277, 278, 279, 280, 281, 282, 256,
+ -1, 258, -1, -1, 261, 262, 263, 264, 265, 266,
+ 267, 268, 33, 33, 58, -1, -1, 33, -1, -1,
+ 277, 278, 279, 280, 281, 282, 256, -1, 258, -1,
+ -1, 261, 262, 263, 264, 265, 266, 267, 268, 33,
+ -1, -1, -1, -1, -1, -1, -1, 277, 278, 279,
+ 280, 281, 282, 256, -1, 258, -1, -1, 261, 262,
+ 263, 264, 265, 266, 267, 268, 33, -1, -1, -1,
+ -1, -1, -1, -1, 277, 278, 279, 280, 281, 282,
256, -1, 258, -1, -1, 261, 262, 263, 264, 265,
- 266, 267, 268, -1, -1, -1, -1, -1, -1, 275,
- 276, 277, 278, 279, 280, 256, -1, 258, -1, -1,
- 261, 262, 263, 264, 265, 266, 267, 268, 257, 258,
- -1, -1, -1, -1, 275, 276, 277, 278, 279, 280,
- 269, 270, 271, 272, 273, 274, 275, 257, 258, -1,
- 258, -1, 260, 261, -1, 263, -1, -1, -1, 269,
- 270, 271, 272, 273, 274, 275, -1, 275, -1, -1,
- -1, 257, 258, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 269, 270, 271, 272, 273, 274, 275,
- -1, -1, -1, -1, -1, -1, -1, 258, -1, -1,
- 261, 262, 263, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 275,
+ 266, 267, 268, -1, -1, -1, -1, -1, -1, -1,
+ -1, 277, 278, 279, 280, 281, 282, 256, -1, 258,
+ -1, -1, 261, 262, 263, 264, 265, 266, 267, 268,
+ -1, -1, -1, -1, -1, -1, -1, -1, 277, 278,
+ 279, 280, 281, 282, 256, -1, 258, -1, -1, 261,
+ 262, 263, 264, 265, 266, 267, 268, -1, -1, -1,
+ -1, -1, -1, -1, -1, 277, 278, 279, 280, 281,
+ 282, 256, -1, 258, -1, -1, 261, 262, 263, 264,
+ 265, 266, 267, 268, 258, -1, 260, 261, -1, 263,
+ -1, -1, 277, 278, 279, 280, 281, 282, 257, 258,
+ -1, -1, -1, 277, -1, -1, -1, -1, -1, -1,
+ 269, 270, 271, 272, 273, 274, 275, 276, 277, 257,
+ 258, -1, -1, -1, 258, 284, 285, 261, 262, 263,
+ -1, 269, 270, 271, 272, 273, 274, 275, 276, 277,
+ -1, -1, -1, 277, -1, -1, 257, 258, 258, -1,
+ 260, 261, 258, 263, -1, 261, 262, 263, 269, 270,
+ 271, 272, 273, 274, 275, 276, 277, 277, -1, -1,
+ -1, 277, -1, 257, 258, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 269, 270, 271, 272, 273,
+ 274, 275, 276, 277, -1, -1, -1, -1, -1, -1,
+ 257, 258, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 269, 270, 271, 272, 273, 274, 275, 276,
+ 277,
};
#define YYFINAL 18
#ifndef YYDEBUG
#define YYDEBUG 0
#endif
-#define YYMAXTOKEN 283
+#define YYMAXTOKEN 285
#if YYDEBUG
#if defined(__cplusplus) || defined(__STDC__)
const char * const yyname[] =
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
"COMMAND","ALIAS","DEFVAR","NTWKADDR","NETGROUP","USERGROUP","WORD","DEFAULTS",
"DEFAULTS_HOST","DEFAULTS_USER","DEFAULTS_RUNAS","DEFAULTS_CMND","NOPASSWD",
-"PASSWD","NOEXEC","EXEC","SETENV","NOSETENV","ALL","COMMENT","HOSTALIAS",
-"CMNDALIAS","USERALIAS","RUNASALIAS","ERROR","TYPE","ROLE",
+"PASSWD","NOEXEC","EXEC","SETENV","NOSETENV","SCRIPT","NOSCRIPT","ALL",
+"COMMENT","HOSTALIAS","CMNDALIAS","USERALIAS","RUNASALIAS","ERROR","TYPE",
+"ROLE",
};
#if defined(__cplusplus) || defined(__STDC__)
const char * const yyrule[] =
"cmndtag : cmndtag EXEC",
"cmndtag : cmndtag SETENV",
"cmndtag : cmndtag NOSETENV",
+"cmndtag : cmndtag SCRIPT",
+"cmndtag : cmndtag NOSCRIPT",
"cmnd : ALL",
"cmnd : ALIAS",
"cmnd : COMMAND",
short *yysslim;
YYSTYPE *yyvs;
int yystacksize;
-#line 590 "gram.y"
+#line 600 "gram.y"
static struct defaults *
new_default(var, val, op)
char *var;
sudolineno = 1;
verbose = !quiet;
}
-#line 761 "y.tab.c"
+#line 772 "y.tab.c"
/* allocate initial stack or double stack size, up to YYMAXDEPTH */
#if defined(__cplusplus) || defined(__STDC__)
static int yygrowstack(void)
switch (yyn)
{
case 1:
-#line 188 "gram.y"
+#line 190 "gram.y"
{ ; }
break;
case 5:
-#line 196 "gram.y"
+#line 198 "gram.y"
{
;
}
break;
case 6:
-#line 199 "gram.y"
+#line 201 "gram.y"
{
yyerrok;
}
break;
case 7:
-#line 202 "gram.y"
+#line 204 "gram.y"
{
add_userspec(yyvsp[-1].member, yyvsp[0].privilege);
}
break;
case 8:
-#line 205 "gram.y"
+#line 207 "gram.y"
{
;
}
break;
case 9:
-#line 208 "gram.y"
+#line 210 "gram.y"
{
;
}
break;
case 10:
-#line 211 "gram.y"
+#line 213 "gram.y"
{
;
}
break;
case 11:
-#line 214 "gram.y"
+#line 216 "gram.y"
{
;
}
break;
case 12:
-#line 217 "gram.y"
+#line 219 "gram.y"
{
add_defaults(DEFAULTS, NULL, yyvsp[0].defaults);
}
break;
case 13:
-#line 220 "gram.y"
+#line 222 "gram.y"
{
add_defaults(DEFAULTS_USER, yyvsp[-1].member, yyvsp[0].defaults);
}
break;
case 14:
-#line 223 "gram.y"
+#line 225 "gram.y"
{
add_defaults(DEFAULTS_RUNAS, yyvsp[-1].member, yyvsp[0].defaults);
}
break;
case 15:
-#line 226 "gram.y"
+#line 228 "gram.y"
{
add_defaults(DEFAULTS_HOST, yyvsp[-1].member, yyvsp[0].defaults);
}
break;
case 16:
-#line 229 "gram.y"
+#line 231 "gram.y"
{
add_defaults(DEFAULTS_CMND, yyvsp[-1].member, yyvsp[0].defaults);
}
break;
case 18:
-#line 235 "gram.y"
+#line 237 "gram.y"
{
list_append(yyvsp[-2].defaults, yyvsp[0].defaults);
yyval.defaults = yyvsp[-2].defaults;
}
break;
case 19:
-#line 241 "gram.y"
+#line 243 "gram.y"
{
yyval.defaults = new_default(yyvsp[0].string, NULL, TRUE);
}
break;
case 20:
-#line 244 "gram.y"
+#line 246 "gram.y"
{
yyval.defaults = new_default(yyvsp[0].string, NULL, FALSE);
}
break;
case 21:
-#line 247 "gram.y"
+#line 249 "gram.y"
{
yyval.defaults = new_default(yyvsp[-2].string, yyvsp[0].string, TRUE);
}
break;
case 22:
-#line 250 "gram.y"
+#line 252 "gram.y"
{
yyval.defaults = new_default(yyvsp[-2].string, yyvsp[0].string, '+');
}
break;
case 23:
-#line 253 "gram.y"
+#line 255 "gram.y"
{
yyval.defaults = new_default(yyvsp[-2].string, yyvsp[0].string, '-');
}
break;
case 25:
-#line 259 "gram.y"
+#line 261 "gram.y"
{
list_append(yyvsp[-2].privilege, yyvsp[0].privilege);
yyval.privilege = yyvsp[-2].privilege;
}
break;
case 26:
-#line 265 "gram.y"
+#line 267 "gram.y"
{
struct privilege *p = emalloc(sizeof(*p));
list2tq(&p->hostlist, yyvsp[-2].member);
}
break;
case 27:
-#line 275 "gram.y"
+#line 277 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = FALSE;
}
break;
case 28:
-#line 279 "gram.y"
+#line 281 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = TRUE;
}
break;
case 29:
-#line 285 "gram.y"
+#line 287 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, ALIAS);
}
break;
case 30:
-#line 288 "gram.y"
+#line 290 "gram.y"
{
yyval.member = new_member(NULL, ALL);
}
break;
case 31:
-#line 291 "gram.y"
+#line 293 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, NETGROUP);
}
break;
case 32:
-#line 294 "gram.y"
+#line 296 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, NTWKADDR);
}
break;
case 33:
-#line 297 "gram.y"
+#line 299 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, WORD);
}
break;
case 35:
-#line 303 "gram.y"
+#line 305 "gram.y"
{
list_append(yyvsp[-2].cmndspec, yyvsp[0].cmndspec);
#ifdef HAVE_SELINUX
if (yyvsp[0].cmndspec->tags.setenv == UNSPEC &&
yyvsp[0].cmndspec->prev->tags.setenv != IMPLIED)
yyvsp[0].cmndspec->tags.setenv = yyvsp[0].cmndspec->prev->tags.setenv;
+ if (yyvsp[0].cmndspec->tags.script == UNSPEC)
+ yyvsp[0].cmndspec->tags.script = yyvsp[0].cmndspec->prev->tags.script;
if ((tq_empty(&yyvsp[0].cmndspec->runasuserlist) &&
tq_empty(&yyvsp[0].cmndspec->runasgrouplist)) &&
(!tq_empty(&yyvsp[0].cmndspec->prev->runasuserlist) ||
}
break;
case 36:
-#line 331 "gram.y"
+#line 335 "gram.y"
{
struct cmndspec *cs = emalloc(sizeof(*cs));
if (yyvsp[-3].runas != NULL) {
}
break;
case 37:
-#line 357 "gram.y"
+#line 361 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = FALSE;
}
break;
case 38:
-#line 361 "gram.y"
+#line 365 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = TRUE;
}
break;
case 39:
-#line 367 "gram.y"
+#line 371 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 40:
-#line 372 "gram.y"
+#line 376 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 41:
-#line 377 "gram.y"
+#line 381 "gram.y"
{
yyval.seinfo.role = NULL;
yyval.seinfo.type = NULL;
}
break;
case 42:
-#line 381 "gram.y"
+#line 385 "gram.y"
{
yyval.seinfo.role = yyvsp[0].string;
yyval.seinfo.type = NULL;
}
break;
case 43:
-#line 385 "gram.y"
+#line 389 "gram.y"
{
yyval.seinfo.type = yyvsp[0].string;
yyval.seinfo.role = NULL;
}
break;
case 44:
-#line 389 "gram.y"
+#line 393 "gram.y"
{
yyval.seinfo.role = yyvsp[-1].string;
yyval.seinfo.type = yyvsp[0].string;
}
break;
case 45:
-#line 393 "gram.y"
+#line 397 "gram.y"
{
yyval.seinfo.type = yyvsp[-1].string;
yyval.seinfo.role = yyvsp[0].string;
}
break;
case 46:
-#line 399 "gram.y"
+#line 403 "gram.y"
{
yyval.runas = NULL;
}
break;
case 47:
-#line 402 "gram.y"
+#line 406 "gram.y"
{
yyval.runas = yyvsp[-1].runas;
}
break;
case 48:
-#line 407 "gram.y"
+#line 411 "gram.y"
{
yyval.runas = emalloc(sizeof(struct runascontainer));
yyval.runas->runasusers = yyvsp[0].member;
}
break;
case 49:
-#line 412 "gram.y"
+#line 416 "gram.y"
{
yyval.runas = emalloc(sizeof(struct runascontainer));
yyval.runas->runasusers = yyvsp[-2].member;
}
break;
case 50:
-#line 417 "gram.y"
+#line 421 "gram.y"
{
yyval.runas = emalloc(sizeof(struct runascontainer));
yyval.runas->runasusers = NULL;
}
break;
case 51:
-#line 424 "gram.y"
+#line 428 "gram.y"
{
- yyval.tag.nopasswd = yyval.tag.noexec = yyval.tag.setenv = UNSPEC;
+ yyval.tag.nopasswd = yyval.tag.noexec = yyval.tag.setenv = yyval.tag.script = UNSPEC;
}
break;
case 52:
-#line 427 "gram.y"
+#line 431 "gram.y"
{
yyval.tag.nopasswd = TRUE;
}
break;
case 53:
-#line 430 "gram.y"
+#line 434 "gram.y"
{
yyval.tag.nopasswd = FALSE;
}
break;
case 54:
-#line 433 "gram.y"
+#line 437 "gram.y"
{
yyval.tag.noexec = TRUE;
}
break;
case 55:
-#line 436 "gram.y"
+#line 440 "gram.y"
{
yyval.tag.noexec = FALSE;
}
break;
case 56:
-#line 439 "gram.y"
+#line 443 "gram.y"
{
yyval.tag.setenv = TRUE;
}
break;
case 57:
-#line 442 "gram.y"
+#line 446 "gram.y"
{
yyval.tag.setenv = FALSE;
}
break;
case 58:
-#line 447 "gram.y"
+#line 449 "gram.y"
{
- yyval.member = new_member(NULL, ALL);
+ yyval.tag.script = TRUE;
}
break;
case 59:
-#line 450 "gram.y"
+#line 452 "gram.y"
{
- yyval.member = new_member(yyvsp[0].string, ALIAS);
+ yyval.tag.script = FALSE;
}
break;
case 60:
-#line 453 "gram.y"
+#line 457 "gram.y"
+{
+ yyval.member = new_member(NULL, ALL);
+ }
+break;
+case 61:
+#line 460 "gram.y"
+{
+ yyval.member = new_member(yyvsp[0].string, ALIAS);
+ }
+break;
+case 62:
+#line 463 "gram.y"
{
struct sudo_command *c = emalloc(sizeof(*c));
c->cmnd = yyvsp[0].command.cmnd;
yyval.member = new_member((char *)c, COMMAND);
}
break;
-case 63:
-#line 465 "gram.y"
+case 65:
+#line 475 "gram.y"
{
char *s;
if ((s = alias_add(yyvsp[-2].string, HOSTALIAS, yyvsp[0].member)) != NULL) {
}
}
break;
-case 65:
-#line 475 "gram.y"
+case 67:
+#line 485 "gram.y"
{
list_append(yyvsp[-2].member, yyvsp[0].member);
yyval.member = yyvsp[-2].member;
}
break;
-case 68:
-#line 485 "gram.y"
+case 70:
+#line 495 "gram.y"
{
char *s;
if ((s = alias_add(yyvsp[-2].string, CMNDALIAS, yyvsp[0].member)) != NULL) {
}
}
break;
-case 70:
-#line 495 "gram.y"
+case 72:
+#line 505 "gram.y"
{
list_append(yyvsp[-2].member, yyvsp[0].member);
yyval.member = yyvsp[-2].member;
}
break;
-case 73:
-#line 505 "gram.y"
+case 75:
+#line 515 "gram.y"
{
char *s;
if ((s = alias_add(yyvsp[-2].string, RUNASALIAS, yyvsp[0].member)) != NULL) {
}
}
break;
-case 76:
-#line 518 "gram.y"
+case 78:
+#line 528 "gram.y"
{
char *s;
if ((s = alias_add(yyvsp[-2].string, USERALIAS, yyvsp[0].member)) != NULL) {
}
}
break;
-case 78:
-#line 528 "gram.y"
+case 80:
+#line 538 "gram.y"
{
list_append(yyvsp[-2].member, yyvsp[0].member);
yyval.member = yyvsp[-2].member;
}
break;
-case 79:
-#line 534 "gram.y"
+case 81:
+#line 544 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = FALSE;
}
break;
-case 80:
-#line 538 "gram.y"
+case 82:
+#line 548 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = TRUE;
}
break;
-case 81:
-#line 544 "gram.y"
+case 83:
+#line 554 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, ALIAS);
}
break;
-case 82:
-#line 547 "gram.y"
+case 84:
+#line 557 "gram.y"
{
yyval.member = new_member(NULL, ALL);
}
break;
-case 83:
-#line 550 "gram.y"
+case 85:
+#line 560 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, NETGROUP);
}
break;
-case 84:
-#line 553 "gram.y"
+case 86:
+#line 563 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, USERGROUP);
}
break;
-case 85:
-#line 556 "gram.y"
+case 87:
+#line 566 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, WORD);
}
break;
-case 87:
-#line 562 "gram.y"
+case 89:
+#line 572 "gram.y"
{
list_append(yyvsp[-2].member, yyvsp[0].member);
yyval.member = yyvsp[-2].member;
}
break;
-case 88:
-#line 568 "gram.y"
+case 90:
+#line 578 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = FALSE;
}
break;
-case 89:
-#line 572 "gram.y"
+case 91:
+#line 582 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = TRUE;
}
break;
-case 90:
-#line 578 "gram.y"
+case 92:
+#line 588 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, ALIAS);
}
break;
-case 91:
-#line 581 "gram.y"
+case 93:
+#line 591 "gram.y"
{
yyval.member = new_member(NULL, ALL);
}
break;
-case 92:
-#line 584 "gram.y"
+case 94:
+#line 594 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, WORD);
}
break;
-#line 1501 "y.tab.c"
+#line 1526 "y.tab.c"
}
yyssp -= yym;
yystate = *yyssp;