summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-11 15:50:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:26 -0500
commitbea4fc3af2b6945db14f38981371ad3c8f9ba64a (patch)
tree5b2a0db072c678686cf3686bf3030a78d840fe4b /source4/lib
parentd1ee65c9cfb9f14bbfb622a5d77256d55e009468 (diff)
downloadsamba-bea4fc3af2b6945db14f38981371ad3c8f9ba64a.tar.gz
samba-bea4fc3af2b6945db14f38981371ad3c8f9ba64a.tar.bz2
samba-bea4fc3af2b6945db14f38981371ad3c8f9ba64a.zip
r25083: Keep actual symbol names the same.
(This used to be commit 106118f116400c8601ebb3cd93b35278a6f09605)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/policy/lex.c256
-rw-r--r--source4/lib/policy/lex.l4
2 files changed, 127 insertions, 133 deletions
diff --git a/source4/lib/policy/lex.c b/source4/lib/policy/lex.c
index f52806935f..fd4c102142 100644
--- a/source4/lib/policy/lex.c
+++ b/source4/lib/policy/lex.c
@@ -373,28 +373,28 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static yyconst flex_int16_t yy_accept[188] =
+static yyconst flex_int16_t yy_accept[185] =
{ 0,
0, 0, 39, 38, 34, 35, 38, 38, 31, 38,
29, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 38, 34, 0, 0, 31,
- 0, 36, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 38, 34, 0, 0,
+ 31, 0, 36, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 0, 33, 37, 32, 32,
- 32, 32, 32, 32, 32, 32, 9, 32, 32, 32,
- 15, 14, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 0, 33, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 16, 32, 18, 32, 32, 21,
-
- 32, 23, 32, 0, 32, 32, 32, 4, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 25,
- 0, 32, 32, 32, 32, 32, 5, 32, 32, 32,
- 32, 32, 32, 19, 32, 32, 32, 32, 0, 32,
- 32, 32, 32, 32, 6, 32, 32, 10, 32, 12,
- 17, 32, 32, 32, 32, 27, 0, 32, 2, 3,
- 32, 32, 32, 8, 11, 20, 32, 32, 28, 0,
- 32, 32, 32, 32, 22, 26, 30, 1, 32, 24,
- 32, 32, 32, 32, 7, 13, 0
+ 32, 32, 32, 32, 32, 32, 32, 0, 33, 37,
+ 32, 32, 32, 32, 32, 32, 32, 32, 9, 32,
+ 32, 32, 32, 15, 14, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 0, 33, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 16,
+
+ 32, 18, 32, 32, 21, 32, 23, 24, 32, 0,
+ 32, 32, 32, 4, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 25, 0, 32, 32,
+ 32, 32, 5, 32, 32, 32, 32, 32, 32, 32,
+ 19, 32, 32, 32, 32, 0, 32, 32, 32, 6,
+ 32, 32, 10, 32, 12, 13, 17, 32, 32, 32,
+ 32, 27, 0, 32, 2, 3, 32, 8, 11, 20,
+ 32, 32, 28, 0, 32, 32, 22, 26, 30, 1,
+ 32, 32, 7, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
@@ -408,10 +408,10 @@ static yyconst flex_int32_t yy_ec[256] =
9, 1, 1, 1, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 19,
- 35, 36, 37, 1, 38, 1, 19, 19, 19, 19,
+ 35, 36, 37, 1, 6, 1, 19, 19, 19, 19,
- 19, 19, 39, 19, 40, 19, 19, 19, 19, 41,
- 19, 19, 19, 42, 43, 44, 19, 19, 19, 19,
+ 19, 19, 38, 19, 39, 19, 19, 19, 19, 40,
+ 19, 19, 19, 41, 42, 43, 19, 19, 19, 19,
19, 19, 36, 1, 36, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -429,131 +429,125 @@ static yyconst flex_int32_t yy_ec[256] =
1, 1, 1, 1, 1
} ;
-static yyconst flex_int32_t yy_meta[45] =
+static yyconst flex_int32_t yy_meta[44] =
{ 0,
1, 1, 2, 1, 1, 3, 3, 1, 1, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 1, 5, 1, 3, 4, 4,
- 4, 4, 4, 4
+ 4, 4, 4, 4, 1, 5, 1, 4, 4, 4,
+ 4, 4, 4
} ;
-static yyconst flex_int16_t yy_base[193] =
+static yyconst flex_int16_t yy_base[190] =
{ 0,
- 0, 0, 218, 219, 215, 219, 212, 0, 208, 211,
- 219, 201, 0, 35, 32, 34, 183, 197, 40, 38,
- 39, 196, 30, 195, 198, 164, 204, 0, 202, 197,
- 200, 219, 0, 173, 172, 186, 189, 49, 174, 179,
- 183, 170, 180, 159, 159, 168, 168, 167, 161, 166,
- 160, 167, 159, 150, 161, 137, 0, 219, 162, 165,
- 166, 149, 166, 161, 149, 144, 0, 151, 149, 147,
- 0, 0, 155, 154, 138, 148, 135, 141, 138, 133,
- 131, 118, 0, 135, 142, 137, 128, 125, 125, 140,
- 123, 141, 129, 139, 0, 121, 0, 135, 128, 0,
-
- 121, 0, 130, 103, 119, 117, 129, 101, 117, 123,
- 112, 121, 116, 115, 110, 113, 96, 102, 101, 30,
- 86, 105, 98, 100, 39, 94, 0, 90, 88, 97,
- 91, 104, 105, 0, 102, 86, 104, 50, 74, 94,
- 77, 77, 99, 80, 0, 84, 77, 0, 76, 0,
- 0, 91, 89, 80, 86, 0, 57, 71, 0, 0,
- 86, 83, 75, 0, 0, 0, 82, 80, 0, 56,
- 63, 74, 63, 71, 0, 0, 219, 0, 57, 0,
- 44, 48, 37, 48, 0, 0, 219, 73, 78, 81,
- 47, 84
-
+ 0, 0, 213, 214, 210, 214, 207, 0, 203, 206,
+ 214, 196, 0, 34, 31, 33, 178, 192, 39, 37,
+ 38, 191, 29, 190, 175, 192, 159, 198, 0, 196,
+ 191, 194, 214, 0, 167, 166, 180, 183, 48, 168,
+ 173, 177, 164, 174, 153, 38, 163, 163, 162, 156,
+ 161, 155, 162, 154, 145, 163, 155, 132, 0, 214,
+ 156, 159, 160, 143, 160, 155, 143, 138, 0, 145,
+ 143, 141, 146, 0, 0, 148, 147, 131, 141, 128,
+ 134, 131, 126, 127, 123, 111, 0, 127, 134, 129,
+ 120, 117, 117, 132, 115, 133, 121, 131, 122, 0,
+
+ 112, 0, 126, 119, 0, 112, 0, 0, 121, 95,
+ 110, 108, 120, 0, 109, 115, 104, 113, 108, 107,
+ 102, 100, 104, 87, 93, 92, 29, 78, 96, 89,
+ 91, 85, 0, 81, 79, 88, 82, 95, 94, 95,
+ 0, 92, 76, 94, 45, 65, 84, 67, 67, 0,
+ 76, 69, 0, 68, 0, 0, 0, 83, 81, 72,
+ 78, 0, 50, 63, 0, 0, 69, 0, 0, 0,
+ 76, 74, 0, 50, 44, 52, 0, 0, 214, 0,
+ 37, 35, 0, 214, 71, 76, 79, 57, 82
} ;
-static yyconst flex_int16_t yy_def[193] =
+static yyconst flex_int16_t yy_def[190] =
{ 0,
- 187, 1, 187, 187, 187, 187, 187, 188, 187, 189,
- 187, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 187, 187, 191, 188, 187,
- 189, 187, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 187, 192, 187, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 187, 192, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
-
- 190, 190, 190, 187, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 187, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 187, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 187, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 187,
- 190, 190, 190, 190, 190, 190, 187, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 0, 187, 187, 187,
- 187, 187
+ 184, 1, 184, 184, 184, 184, 184, 185, 184, 186,
+ 184, 187, 187, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 187, 184, 184, 188, 185,
+ 184, 186, 184, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 187, 187, 184, 189, 184,
+ 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 184, 189, 187, 187, 187,
+ 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 187, 187, 187, 187, 184,
+ 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 187, 187, 184, 187, 187,
+ 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 184, 187, 187, 187, 187,
+ 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 184, 187, 187, 187, 187, 187, 187, 187,
+ 187, 187, 187, 184, 187, 187, 187, 187, 184, 187,
+ 187, 187, 187, 0, 184, 184, 184, 184, 184
} ;
-static yyconst flex_int16_t yy_nxt[264] =
+static yyconst flex_int16_t yy_nxt[258] =
{ 0,
4, 5, 6, 7, 8, 4, 9, 10, 11, 12,
13, 14, 15, 16, 13, 13, 13, 17, 13, 18,
- 13, 19, 20, 13, 21, 13, 22, 23, 24, 13,
- 25, 13, 13, 13, 26, 13, 4, 4, 13, 13,
- 13, 13, 13, 13, 35, 38, 40, 47, 49, 45,
- 57, 36, 137, 138, 52, 37, 41, 46, 39, 53,
- 143, 186, 50, 63, 155, 185, 42, 48, 144, 64,
- 184, 183, 156, 29, 182, 29, 29, 29, 31, 31,
- 31, 31, 31, 33, 33, 33, 83, 83, 181, 180,
- 179, 178, 177, 176, 175, 174, 173, 172, 171, 170,
-
- 169, 168, 167, 166, 165, 164, 163, 162, 161, 160,
- 159, 158, 157, 154, 153, 152, 151, 150, 149, 148,
- 147, 146, 145, 142, 141, 140, 139, 136, 135, 134,
- 133, 132, 131, 130, 129, 128, 127, 126, 125, 124,
- 123, 122, 121, 120, 119, 118, 117, 116, 115, 114,
- 113, 112, 111, 110, 109, 108, 107, 106, 105, 104,
- 103, 102, 101, 100, 99, 98, 97, 96, 95, 94,
- 93, 92, 91, 90, 89, 88, 87, 86, 85, 84,
- 82, 81, 80, 79, 78, 77, 76, 75, 74, 73,
- 72, 71, 70, 69, 68, 67, 66, 65, 62, 61,
-
- 60, 59, 32, 30, 58, 27, 56, 55, 54, 51,
- 44, 43, 34, 32, 30, 28, 27, 187, 3, 187,
- 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
- 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
- 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
- 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
- 187, 187, 187
+ 13, 19, 20, 13, 21, 13, 22, 23, 24, 25,
+ 26, 13, 13, 13, 27, 13, 4, 13, 13, 13,
+ 13, 13, 13, 36, 39, 41, 48, 50, 46, 73,
+ 37, 144, 145, 53, 38, 42, 47, 40, 54, 161,
+ 59, 51, 65, 183, 182, 43, 49, 162, 66, 181,
+ 74, 30, 180, 30, 30, 30, 32, 32, 32, 32,
+ 32, 34, 34, 34, 87, 87, 179, 178, 177, 176,
+ 175, 174, 173, 172, 171, 170, 169, 168, 167, 166,
+
+ 165, 164, 163, 160, 159, 158, 157, 156, 155, 154,
+ 153, 152, 151, 150, 149, 148, 147, 146, 143, 142,
+ 141, 140, 139, 138, 137, 136, 135, 134, 133, 132,
+ 131, 130, 129, 128, 127, 126, 125, 124, 123, 122,
+ 121, 120, 119, 118, 117, 116, 115, 114, 113, 112,
+ 111, 110, 109, 108, 107, 106, 105, 104, 103, 102,
+ 101, 100, 99, 98, 97, 96, 95, 94, 93, 92,
+ 91, 90, 89, 88, 86, 85, 84, 83, 82, 81,
+ 80, 79, 78, 77, 76, 75, 72, 71, 70, 69,
+ 68, 67, 64, 63, 62, 61, 33, 31, 60, 28,
+
+ 58, 57, 56, 55, 52, 45, 44, 35, 33, 31,
+ 29, 28, 184, 3, 184, 184, 184, 184, 184, 184,
+ 184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
+ 184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
+ 184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
+ 184, 184, 184, 184, 184, 184, 184
} ;
-static yyconst flex_int16_t yy_chk[264] =
+static yyconst flex_int16_t yy_chk[258] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 14, 15, 16, 20, 21, 19,
- 191, 14, 120, 120, 23, 14, 16, 19, 15, 23,
- 125, 184, 21, 38, 138, 183, 16, 20, 125, 38,
- 182, 181, 138, 188, 179, 188, 188, 188, 189, 189,
- 189, 189, 189, 190, 190, 190, 192, 192, 174, 173,
- 172, 171, 170, 168, 167, 163, 162, 161, 158, 157,
-
- 155, 154, 153, 152, 149, 147, 146, 144, 143, 142,
- 141, 140, 139, 137, 136, 135, 133, 132, 131, 130,
- 129, 128, 126, 124, 123, 122, 121, 119, 118, 117,
- 116, 115, 114, 113, 112, 111, 110, 109, 108, 107,
- 106, 105, 104, 103, 101, 99, 98, 96, 94, 93,
- 92, 91, 90, 89, 88, 87, 86, 85, 84, 82,
- 81, 80, 79, 78, 77, 76, 75, 74, 73, 70,
- 69, 68, 66, 65, 64, 63, 62, 61, 60, 59,
- 56, 55, 54, 53, 52, 51, 50, 49, 48, 47,
- 46, 45, 44, 43, 42, 41, 40, 39, 37, 36,
-
- 35, 34, 31, 30, 29, 27, 26, 25, 24, 22,
- 18, 17, 12, 10, 9, 7, 5, 3, 187, 187,
- 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
- 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
- 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
- 187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
- 187, 187, 187
+ 1, 1, 1, 14, 15, 16, 20, 21, 19, 46,
+ 14, 127, 127, 23, 14, 16, 19, 15, 23, 145,
+ 188, 21, 39, 182, 181, 16, 20, 145, 39, 176,
+ 46, 185, 175, 185, 185, 185, 186, 186, 186, 186,
+ 186, 187, 187, 187, 189, 189, 174, 172, 171, 167,
+ 164, 163, 161, 160, 159, 158, 154, 152, 151, 149,
+
+ 148, 147, 146, 144, 143, 142, 140, 139, 138, 137,
+ 136, 135, 134, 132, 131, 130, 129, 128, 126, 125,
+ 124, 123, 122, 121, 120, 119, 118, 117, 116, 115,
+ 113, 112, 111, 110, 109, 106, 104, 103, 101, 99,
+ 98, 97, 96, 95, 94, 93, 92, 91, 90, 89,
+ 88, 86, 85, 84, 83, 82, 81, 80, 79, 78,
+ 77, 76, 73, 72, 71, 70, 68, 67, 66, 65,
+ 64, 63, 62, 61, 58, 57, 56, 55, 54, 53,
+ 52, 51, 50, 49, 48, 47, 45, 44, 43, 42,
+ 41, 40, 38, 37, 36, 35, 32, 31, 30, 28,
+
+ 27, 26, 25, 24, 22, 18, 17, 12, 10, 9,
+ 7, 5, 3, 184, 184, 184, 184, 184, 184, 184,
+ 184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
+ 184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
+ 184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
+ 184, 184, 184, 184, 184, 184, 184
} ;
static yy_state_type yy_last_accepting_state;
@@ -613,7 +607,7 @@ static bool utf16 = false;
} \
}
-#line 616 "lex.yy.c"
+#line 610 "lex.yy.c"
#define INITIAL 0
@@ -769,7 +763,7 @@ YY_DECL
#line 47 "lex.l"
-#line 772 "lex.yy.c"
+#line 766 "lex.yy.c"
if ( !(yy_init) )
{
@@ -822,13 +816,13 @@ yy_match:
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 188 )
+ if ( yy_current_state >= 185 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
- while ( yy_base[yy_current_state] != 219 );
+ while ( yy_base[yy_current_state] != 214 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
@@ -1058,7 +1052,7 @@ YY_RULE_SETUP
#line 102 "lex.l"
ECHO;
YY_BREAK
-#line 1061 "lex.yy.c"
+#line 1055 "lex.yy.c"
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1342,7 +1336,7 @@ static int yy_get_next_buffer (void)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 188 )
+ if ( yy_current_state >= 185 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1370,11 +1364,11 @@ static int yy_get_next_buffer (void)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 188 )
+ if ( yy_current_state >= 185 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 187);
+ yy_is_jam = (yy_current_state == 184);
return yy_is_jam ? 0 : yy_current_state;
}
diff --git a/source4/lib/policy/lex.l b/source4/lib/policy/lex.l
index 797f59d6e2..199cd228c0 100644
--- a/source4/lib/policy/lex.l
+++ b/source4/lib/policy/lex.l
@@ -58,7 +58,7 @@ END { return END; }
EXPLAIN { return EXPLAIN; }
ITEMLIST { return ITEMLIST; }
KEYNAME { return KEYNAME; }
-CLASS_MACHINE { return CLASS_MACHINE; }
+MACHINE { return CLASS_MACHINE; }
MIN { return MINIMUM; }
MAX { return MAXIMUM; }
NAME { return NAME; }
@@ -69,7 +69,7 @@ REQUIRED { return REQUIRED; }
SPIN { return SPIN; }
SUPPORTED { return SUPPORTED; }
TEXT { return TEXT; }
-CLASS_USER { return CLASS_USER; }
+USER { return CLASS_USER; }
VALUE { return VALUE; }
VALUENAME { return VALUENAME; }
VALUEON { return VALUEON; }