mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
changes to prebuild
This commit is contained in:
parent
696801912d
commit
e76df930c0
@ -300,27 +300,27 @@ static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
|
|||||||
*yy_cp = '\0'; \
|
*yy_cp = '\0'; \
|
||||||
yy_c_buf_p = yy_cp;
|
yy_c_buf_p = yy_cp;
|
||||||
|
|
||||||
#define YY_NUM_RULES 40
|
#define YY_NUM_RULES 41
|
||||||
#define YY_END_OF_BUFFER 41
|
#define YY_END_OF_BUFFER 42
|
||||||
static yyconst short int yy_accept[157] =
|
static yyconst short int yy_accept[159] =
|
||||||
{ 0,
|
{ 0,
|
||||||
0, 0, 41, 39, 2, 1, 36, 39, 39, 39,
|
0, 0, 42, 40, 2, 1, 37, 40, 40, 40,
|
||||||
33, 33, 37, 38, 38, 38, 38, 38, 38, 38,
|
34, 34, 38, 39, 39, 39, 39, 39, 39, 39,
|
||||||
38, 38, 38, 38, 38, 1, 0, 33, 35, 4,
|
39, 39, 39, 39, 39, 1, 0, 34, 36, 4,
|
||||||
3, 35, 34, 38, 38, 38, 38, 29, 38, 38,
|
3, 36, 35, 39, 39, 39, 39, 30, 39, 39,
|
||||||
38, 38, 38, 38, 38, 38, 38, 38, 0, 3,
|
39, 39, 39, 39, 39, 39, 39, 39, 0, 3,
|
||||||
34, 38, 38, 38, 38, 38, 38, 38, 38, 38,
|
35, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
||||||
27, 28, 38, 38, 38, 0, 35, 16, 38, 38,
|
28, 29, 39, 39, 39, 0, 36, 16, 39, 39,
|
||||||
38, 38, 38, 38, 38, 38, 6, 24, 38, 38,
|
39, 39, 39, 39, 39, 39, 6, 25, 39, 39,
|
||||||
38, 38, 38, 38, 38, 38, 38, 7, 8, 9,
|
39, 39, 39, 39, 39, 39, 39, 39, 7, 8,
|
||||||
38, 38, 38, 38, 38, 38, 38, 10, 38, 31,
|
9, 39, 39, 39, 39, 39, 39, 39, 10, 17,
|
||||||
|
|
||||||
30, 5, 38, 38, 38, 38, 38, 38, 15, 11,
|
39, 32, 31, 5, 39, 39, 39, 39, 39, 39,
|
||||||
12, 13, 38, 38, 14, 38, 38, 38, 32, 38,
|
15, 11, 12, 13, 39, 39, 14, 39, 39, 39,
|
||||||
38, 38, 38, 38, 38, 38, 38, 38, 25, 38,
|
33, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
||||||
38, 38, 38, 26, 38, 38, 17, 38, 38, 38,
|
26, 39, 39, 39, 39, 27, 39, 39, 18, 39,
|
||||||
38, 18, 19, 38, 38, 38, 20, 21, 22, 38,
|
39, 39, 39, 19, 20, 39, 39, 39, 21, 22,
|
||||||
38, 38, 38, 38, 23, 0
|
23, 39, 39, 39, 39, 39, 24, 0
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
static yyconst int yy_ec[256] =
|
static yyconst int yy_ec[256] =
|
||||||
@ -364,110 +364,110 @@ static yyconst int yy_meta[43] =
|
|||||||
7, 7
|
7, 7
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
static yyconst short int yy_base[164] =
|
static yyconst short int yy_base[166] =
|
||||||
{ 0,
|
{ 0,
|
||||||
0, 0, 200, 201, 201, 0, 201, 192, 0, 38,
|
0, 0, 202, 203, 203, 0, 203, 194, 0, 38,
|
||||||
37, 191, 201, 0, 16, 168, 25, 167, 164, 162,
|
37, 193, 203, 0, 16, 170, 25, 169, 166, 164,
|
||||||
153, 181, 28, 154, 162, 0, 0, 182, 31, 201,
|
155, 183, 28, 156, 164, 0, 0, 184, 31, 203,
|
||||||
0, 0, 0, 0, 156, 155, 19, 0, 157, 153,
|
0, 0, 0, 0, 158, 157, 19, 0, 159, 155,
|
||||||
147, 154, 151, 148, 150, 145, 143, 146, 170, 0,
|
149, 156, 153, 150, 152, 147, 145, 148, 172, 0,
|
||||||
0, 153, 153, 148, 147, 150, 149, 47, 70, 133,
|
0, 155, 155, 150, 149, 152, 151, 47, 70, 135,
|
||||||
0, 0, 130, 139, 129, 159, 158, 0, 139, 139,
|
0, 0, 132, 141, 131, 161, 160, 153, 140, 140,
|
||||||
130, 124, 122, 143, 146, 143, 134, 0, 129, 125,
|
131, 125, 123, 144, 147, 144, 135, 0, 130, 126,
|
||||||
121, 54, 128, 111, 125, 112, 132, 125, 124, 0,
|
122, 54, 141, 128, 111, 125, 112, 132, 125, 124,
|
||||||
109, 112, 107, 114, 125, 128, 125, 116, 115, 0,
|
0, 109, 112, 107, 114, 125, 128, 125, 116, 0,
|
||||||
|
|
||||||
0, 0, 122, 99, 98, 97, 107, 105, 0, 108,
|
115, 0, 0, 0, 122, 99, 98, 97, 107, 105,
|
||||||
37, 0, 93, 91, 0, 91, 90, 103, 0, 99,
|
0, 108, 37, 0, 93, 91, 0, 91, 90, 103,
|
||||||
87, 86, 92, 84, 81, 96, 95, 73, 0, 79,
|
0, 99, 87, 86, 92, 84, 81, 96, 95, 73,
|
||||||
78, 81, 90, 0, 67, 58, 0, 67, 56, 39,
|
0, 79, 78, 81, 90, 0, 67, 58, 0, 67,
|
||||||
32, 0, 0, 31, 30, 55, 0, 0, 0, 47,
|
56, 39, 32, 0, 0, 31, 30, 55, 0, 0,
|
||||||
32, 30, 40, 18, 0, 201, 86, 90, 47, 91,
|
0, 47, 32, 30, 40, 18, 0, 203, 86, 90,
|
||||||
98, 101, 105
|
47, 91, 98, 101, 105
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
static yyconst short int yy_def[164] =
|
static yyconst short int yy_def[166] =
|
||||||
{ 0,
|
{ 0,
|
||||||
156, 1, 156, 156, 156, 157, 156, 158, 159, 156,
|
158, 1, 158, 158, 158, 159, 158, 160, 161, 158,
|
||||||
158, 158, 156, 160, 160, 160, 160, 160, 160, 160,
|
160, 160, 158, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 157, 159, 158, 159, 156,
|
162, 162, 162, 162, 162, 159, 161, 160, 161, 158,
|
||||||
161, 29, 162, 160, 160, 160, 160, 160, 160, 160,
|
163, 29, 164, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 160, 160, 160, 163, 161,
|
162, 162, 162, 162, 162, 162, 162, 162, 165, 163,
|
||||||
162, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
164, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 163, 163, 160, 160, 160,
|
162, 162, 162, 162, 162, 165, 165, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 160, 160, 59, 160, 160,
|
162, 162, 162, 162, 162, 162, 162, 59, 162, 162,
|
||||||
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
||||||
|
|
||||||
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
||||||
160, 160, 160, 160, 160, 0, 156, 156, 156, 156,
|
162, 162, 162, 162, 162, 162, 162, 0, 158, 158,
|
||||||
156, 156, 156
|
158, 158, 158, 158, 158
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
static yyconst short int yy_nxt[244] =
|
static yyconst short int yy_nxt[246] =
|
||||||
{ 0,
|
{ 0,
|
||||||
4, 5, 6, 7, 4, 8, 9, 10, 11, 12,
|
4, 5, 6, 7, 4, 8, 9, 10, 11, 12,
|
||||||
12, 12, 12, 12, 12, 12, 13, 14, 14, 14,
|
12, 12, 12, 12, 12, 12, 13, 14, 14, 14,
|
||||||
14, 15, 16, 17, 14, 18, 14, 19, 14, 20,
|
14, 15, 16, 17, 14, 18, 14, 19, 14, 20,
|
||||||
14, 21, 22, 14, 23, 24, 14, 25, 14, 14,
|
14, 21, 22, 14, 23, 24, 14, 25, 14, 14,
|
||||||
14, 14, 30, 32, 35, 31, 38, 39, 45, 49,
|
14, 14, 30, 32, 35, 31, 38, 39, 45, 49,
|
||||||
36, 29, 46, 54, 55, 49, 74, 122, 75, 155,
|
36, 29, 46, 54, 55, 49, 74, 124, 75, 157,
|
||||||
154, 76, 77, 95, 153, 96, 152, 151, 97, 98,
|
156, 76, 77, 96, 155, 97, 154, 153, 98, 99,
|
||||||
150, 149, 148, 147, 123, 146, 145, 33, 78, 78,
|
152, 151, 150, 149, 125, 148, 147, 33, 78, 78,
|
||||||
78, 78, 78, 78, 78, 78, 26, 144, 26, 26,
|
78, 78, 78, 78, 78, 78, 26, 146, 26, 26,
|
||||||
26, 26, 26, 28, 28, 34, 34, 34, 50, 143,
|
26, 26, 26, 28, 28, 34, 34, 34, 50, 145,
|
||||||
|
|
||||||
50, 50, 50, 50, 50, 51, 51, 67, 142, 67,
|
50, 50, 50, 50, 50, 51, 51, 67, 144, 67,
|
||||||
141, 140, 139, 138, 137, 136, 135, 134, 133, 132,
|
143, 142, 141, 140, 139, 138, 137, 136, 135, 134,
|
||||||
131, 130, 129, 128, 127, 126, 125, 124, 121, 120,
|
133, 132, 131, 130, 129, 128, 127, 126, 123, 122,
|
||||||
119, 118, 117, 116, 115, 114, 113, 112, 111, 110,
|
121, 120, 119, 118, 117, 116, 115, 114, 113, 112,
|
||||||
109, 108, 107, 106, 105, 104, 103, 102, 101, 100,
|
111, 110, 109, 108, 107, 106, 105, 104, 103, 102,
|
||||||
99, 94, 93, 92, 91, 90, 89, 88, 87, 86,
|
101, 100, 95, 94, 93, 92, 91, 90, 89, 88,
|
||||||
85, 84, 83, 156, 156, 82, 81, 80, 79, 73,
|
87, 86, 85, 84, 83, 158, 158, 82, 81, 80,
|
||||||
72, 71, 70, 69, 68, 66, 65, 64, 63, 62,
|
79, 73, 72, 71, 70, 69, 68, 66, 65, 64,
|
||||||
61, 60, 59, 58, 57, 56, 53, 52, 32, 48,
|
63, 62, 61, 60, 59, 58, 57, 56, 53, 52,
|
||||||
47, 44, 43, 42, 41, 40, 37, 32, 27, 156,
|
32, 48, 47, 44, 43, 42, 41, 40, 37, 32,
|
||||||
|
|
||||||
3, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
27, 158, 3, 158, 158, 158, 158, 158, 158, 158,
|
||||||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
||||||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
||||||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
||||||
156, 156, 156
|
158, 158, 158, 158, 158
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
static yyconst short int yy_chk[244] =
|
static yyconst short int yy_chk[246] =
|
||||||
{ 0,
|
{ 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, 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, 10, 11, 15, 10, 17, 17, 23, 29,
|
1, 1, 10, 11, 15, 10, 17, 17, 23, 29,
|
||||||
15, 159, 23, 37, 37, 29, 58, 111, 58, 154,
|
15, 161, 23, 37, 37, 29, 58, 113, 58, 156,
|
||||||
153, 58, 58, 82, 152, 82, 151, 150, 82, 82,
|
155, 58, 58, 82, 154, 82, 153, 152, 82, 82,
|
||||||
146, 145, 144, 141, 111, 140, 139, 11, 59, 59,
|
148, 147, 146, 143, 113, 142, 141, 11, 59, 59,
|
||||||
59, 59, 59, 59, 59, 59, 157, 138, 157, 157,
|
59, 59, 59, 59, 59, 59, 159, 140, 159, 159,
|
||||||
157, 157, 157, 158, 158, 160, 160, 160, 161, 136,
|
159, 159, 159, 160, 160, 162, 162, 162, 163, 138,
|
||||||
|
|
||||||
161, 161, 161, 161, 161, 162, 162, 163, 135, 163,
|
163, 163, 163, 163, 163, 164, 164, 165, 137, 165,
|
||||||
133, 132, 131, 130, 128, 127, 126, 125, 124, 123,
|
135, 134, 133, 132, 130, 129, 128, 127, 126, 125,
|
||||||
122, 121, 120, 118, 117, 116, 114, 113, 110, 108,
|
124, 123, 122, 120, 119, 118, 116, 115, 112, 110,
|
||||||
107, 106, 105, 104, 103, 99, 98, 97, 96, 95,
|
109, 108, 107, 106, 105, 101, 99, 98, 97, 96,
|
||||||
94, 93, 92, 91, 89, 88, 87, 86, 85, 84,
|
95, 94, 93, 92, 90, 89, 88, 87, 86, 85,
|
||||||
83, 81, 80, 79, 77, 76, 75, 74, 73, 72,
|
84, 83, 81, 80, 79, 77, 76, 75, 74, 73,
|
||||||
71, 70, 69, 67, 66, 65, 64, 63, 60, 57,
|
72, 71, 70, 69, 68, 67, 66, 65, 64, 63,
|
||||||
56, 55, 54, 53, 52, 49, 48, 47, 46, 45,
|
60, 57, 56, 55, 54, 53, 52, 49, 48, 47,
|
||||||
44, 43, 42, 41, 40, 39, 36, 35, 28, 25,
|
46, 45, 44, 43, 42, 41, 40, 39, 36, 35,
|
||||||
24, 22, 21, 20, 19, 18, 16, 12, 8, 3,
|
28, 25, 24, 22, 21, 20, 19, 18, 16, 12,
|
||||||
|
|
||||||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
8, 3, 158, 158, 158, 158, 158, 158, 158, 158,
|
||||||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
||||||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
||||||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
||||||
156, 156, 156
|
158, 158, 158, 158, 158
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
static yy_state_type yy_last_accepting_state;
|
static yy_state_type yy_last_accepting_state;
|
||||||
@ -978,13 +978,13 @@ yy_match:
|
|||||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||||
{
|
{
|
||||||
yy_current_state = (int) yy_def[yy_current_state];
|
yy_current_state = (int) yy_def[yy_current_state];
|
||||||
if ( yy_current_state >= 157 )
|
if ( yy_current_state >= 159 )
|
||||||
yy_c = yy_meta[(unsigned int) yy_c];
|
yy_c = yy_meta[(unsigned int) yy_c];
|
||||||
}
|
}
|
||||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||||
++yy_cp;
|
++yy_cp;
|
||||||
}
|
}
|
||||||
while ( yy_base[yy_current_state] != 201 );
|
while ( yy_base[yy_current_state] != 203 );
|
||||||
|
|
||||||
yy_find_action:
|
yy_find_action:
|
||||||
yy_act = yy_accept[yy_current_state];
|
yy_act = yy_accept[yy_current_state];
|
||||||
@ -1153,7 +1153,7 @@ YY_RULE_SETUP
|
|||||||
#line 391 "dcLexer.lxx"
|
#line 391 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_INT8ARRAY;
|
return KW_BLOB32;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 18:
|
case 18:
|
||||||
@ -1161,7 +1161,7 @@ YY_RULE_SETUP
|
|||||||
#line 396 "dcLexer.lxx"
|
#line 396 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_INT16ARRAY;
|
return KW_INT8ARRAY;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 19:
|
case 19:
|
||||||
@ -1169,7 +1169,7 @@ YY_RULE_SETUP
|
|||||||
#line 401 "dcLexer.lxx"
|
#line 401 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_INT32ARRAY;
|
return KW_INT16ARRAY;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 20:
|
case 20:
|
||||||
@ -1177,7 +1177,7 @@ YY_RULE_SETUP
|
|||||||
#line 406 "dcLexer.lxx"
|
#line 406 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_UINT8ARRAY;
|
return KW_INT32ARRAY;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 21:
|
case 21:
|
||||||
@ -1185,7 +1185,7 @@ YY_RULE_SETUP
|
|||||||
#line 411 "dcLexer.lxx"
|
#line 411 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_UINT16ARRAY;
|
return KW_UINT8ARRAY;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 22:
|
case 22:
|
||||||
@ -1193,7 +1193,7 @@ YY_RULE_SETUP
|
|||||||
#line 416 "dcLexer.lxx"
|
#line 416 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_UINT32ARRAY;
|
return KW_UINT16ARRAY;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 23:
|
case 23:
|
||||||
@ -1201,12 +1201,20 @@ YY_RULE_SETUP
|
|||||||
#line 421 "dcLexer.lxx"
|
#line 421 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_UINT32UINT8ARRAY;
|
return KW_UINT32ARRAY;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 24:
|
case 24:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 426 "dcLexer.lxx"
|
#line 426 "dcLexer.lxx"
|
||||||
|
{
|
||||||
|
accept();
|
||||||
|
return KW_UINT32UINT8ARRAY;
|
||||||
|
}
|
||||||
|
YY_BREAK
|
||||||
|
case 25:
|
||||||
|
YY_RULE_SETUP
|
||||||
|
#line 431 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
// A molecular keyword.
|
// A molecular keyword.
|
||||||
accept();
|
accept();
|
||||||
@ -1215,20 +1223,12 @@ YY_RULE_SETUP
|
|||||||
return KW_MOL;
|
return KW_MOL;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 25:
|
|
||||||
YY_RULE_SETUP
|
|
||||||
#line 434 "dcLexer.lxx"
|
|
||||||
{
|
|
||||||
accept();
|
|
||||||
return KW_REQUIRED;
|
|
||||||
}
|
|
||||||
YY_BREAK
|
|
||||||
case 26:
|
case 26:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 439 "dcLexer.lxx"
|
#line 439 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_BROADCAST;
|
return KW_REQUIRED;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 27:
|
case 27:
|
||||||
@ -1236,7 +1236,7 @@ YY_RULE_SETUP
|
|||||||
#line 444 "dcLexer.lxx"
|
#line 444 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_P2P;
|
return KW_BROADCAST;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 28:
|
case 28:
|
||||||
@ -1244,7 +1244,7 @@ YY_RULE_SETUP
|
|||||||
#line 449 "dcLexer.lxx"
|
#line 449 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_RAM;
|
return KW_P2P;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 29:
|
case 29:
|
||||||
@ -1252,7 +1252,7 @@ YY_RULE_SETUP
|
|||||||
#line 454 "dcLexer.lxx"
|
#line 454 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_DB;
|
return KW_RAM;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 30:
|
case 30:
|
||||||
@ -1260,7 +1260,7 @@ YY_RULE_SETUP
|
|||||||
#line 459 "dcLexer.lxx"
|
#line 459 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_CLSEND;
|
return KW_DB;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 31:
|
case 31:
|
||||||
@ -1268,7 +1268,7 @@ YY_RULE_SETUP
|
|||||||
#line 464 "dcLexer.lxx"
|
#line 464 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_CLRECV;
|
return KW_CLSEND;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 32:
|
case 32:
|
||||||
@ -1276,12 +1276,20 @@ YY_RULE_SETUP
|
|||||||
#line 469 "dcLexer.lxx"
|
#line 469 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
return KW_OWNSEND;
|
return KW_CLRECV;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 33:
|
case 33:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 474 "dcLexer.lxx"
|
#line 474 "dcLexer.lxx"
|
||||||
|
{
|
||||||
|
accept();
|
||||||
|
return KW_OWNSEND;
|
||||||
|
}
|
||||||
|
YY_BREAK
|
||||||
|
case 34:
|
||||||
|
YY_RULE_SETUP
|
||||||
|
#line 479 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
// An integer number.
|
// An integer number.
|
||||||
accept();
|
accept();
|
||||||
@ -1290,9 +1298,9 @@ YY_RULE_SETUP
|
|||||||
return INTEGER;
|
return INTEGER;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 34:
|
case 35:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 482 "dcLexer.lxx"
|
#line 487 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
// A hexadecimal integer number.
|
// A hexadecimal integer number.
|
||||||
accept();
|
accept();
|
||||||
@ -1301,9 +1309,9 @@ YY_RULE_SETUP
|
|||||||
return INTEGER;
|
return INTEGER;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 35:
|
case 36:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 490 "dcLexer.lxx"
|
#line 495 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
// A floating-point number.
|
// A floating-point number.
|
||||||
accept();
|
accept();
|
||||||
@ -1312,9 +1320,9 @@ YY_RULE_SETUP
|
|||||||
return REAL;
|
return REAL;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 36:
|
case 37:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 498 "dcLexer.lxx"
|
#line 503 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
// Quoted string.
|
// Quoted string.
|
||||||
accept();
|
accept();
|
||||||
@ -1322,9 +1330,9 @@ YY_RULE_SETUP
|
|||||||
return STRING;
|
return STRING;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 37:
|
case 38:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 505 "dcLexer.lxx"
|
#line 510 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
// Long hex string.
|
// Long hex string.
|
||||||
accept();
|
accept();
|
||||||
@ -1332,9 +1340,9 @@ YY_RULE_SETUP
|
|||||||
return HEX_STRING;
|
return HEX_STRING;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 38:
|
case 39:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 512 "dcLexer.lxx"
|
#line 517 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
// Identifier.
|
// Identifier.
|
||||||
accept();
|
accept();
|
||||||
@ -1342,21 +1350,21 @@ YY_RULE_SETUP
|
|||||||
return IDENTIFIER;
|
return IDENTIFIER;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 39:
|
case 40:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 520 "dcLexer.lxx"
|
#line 525 "dcLexer.lxx"
|
||||||
{
|
{
|
||||||
// Send any other printable character as itself.
|
// Send any other printable character as itself.
|
||||||
accept();
|
accept();
|
||||||
return dcyytext[0];
|
return dcyytext[0];
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 40:
|
case 41:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 526 "dcLexer.lxx"
|
#line 531 "dcLexer.lxx"
|
||||||
ECHO;
|
ECHO;
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
#line 1361 "lex.yy.c"
|
#line 1369 "lex.yy.c"
|
||||||
case YY_STATE_EOF(INITIAL):
|
case YY_STATE_EOF(INITIAL):
|
||||||
yyterminate();
|
yyterminate();
|
||||||
|
|
||||||
@ -1648,7 +1656,7 @@ static yy_state_type yy_get_previous_state()
|
|||||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||||
{
|
{
|
||||||
yy_current_state = (int) yy_def[yy_current_state];
|
yy_current_state = (int) yy_def[yy_current_state];
|
||||||
if ( yy_current_state >= 157 )
|
if ( yy_current_state >= 159 )
|
||||||
yy_c = yy_meta[(unsigned int) yy_c];
|
yy_c = yy_meta[(unsigned int) yy_c];
|
||||||
}
|
}
|
||||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||||
@ -1683,11 +1691,11 @@ yy_state_type yy_current_state;
|
|||||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||||
{
|
{
|
||||||
yy_current_state = (int) yy_def[yy_current_state];
|
yy_current_state = (int) yy_def[yy_current_state];
|
||||||
if ( yy_current_state >= 157 )
|
if ( yy_current_state >= 159 )
|
||||||
yy_c = yy_meta[(unsigned int) yy_c];
|
yy_c = yy_meta[(unsigned int) yy_c];
|
||||||
}
|
}
|
||||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||||
yy_is_jam = (yy_current_state == 156);
|
yy_is_jam = (yy_current_state == 158);
|
||||||
|
|
||||||
return yy_is_jam ? 0 : yy_current_state;
|
return yy_is_jam ? 0 : yy_current_state;
|
||||||
}
|
}
|
||||||
@ -2242,4 +2250,4 @@ int main()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#line 526 "dcLexer.lxx"
|
#line 531 "dcLexer.lxx"
|
||||||
|
@ -79,22 +79,23 @@
|
|||||||
KW_FLOAT64 = 272,
|
KW_FLOAT64 = 272,
|
||||||
KW_STRING = 273,
|
KW_STRING = 273,
|
||||||
KW_BLOB = 274,
|
KW_BLOB = 274,
|
||||||
KW_INT8ARRAY = 275,
|
KW_BLOB32 = 275,
|
||||||
KW_INT16ARRAY = 276,
|
KW_INT8ARRAY = 276,
|
||||||
KW_INT32ARRAY = 277,
|
KW_INT16ARRAY = 277,
|
||||||
KW_UINT8ARRAY = 278,
|
KW_INT32ARRAY = 278,
|
||||||
KW_UINT16ARRAY = 279,
|
KW_UINT8ARRAY = 279,
|
||||||
KW_UINT32ARRAY = 280,
|
KW_UINT16ARRAY = 280,
|
||||||
KW_UINT32UINT8ARRAY = 281,
|
KW_UINT32ARRAY = 281,
|
||||||
KW_MOL = 282,
|
KW_UINT32UINT8ARRAY = 282,
|
||||||
KW_REQUIRED = 283,
|
KW_MOL = 283,
|
||||||
KW_BROADCAST = 284,
|
KW_REQUIRED = 284,
|
||||||
KW_P2P = 285,
|
KW_BROADCAST = 285,
|
||||||
KW_RAM = 286,
|
KW_P2P = 286,
|
||||||
KW_DB = 287,
|
KW_RAM = 287,
|
||||||
KW_CLSEND = 288,
|
KW_DB = 288,
|
||||||
KW_CLRECV = 289,
|
KW_CLSEND = 289,
|
||||||
KW_OWNSEND = 290
|
KW_CLRECV = 290,
|
||||||
|
KW_OWNSEND = 291
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
#define INTEGER 258
|
#define INTEGER 258
|
||||||
@ -114,22 +115,23 @@
|
|||||||
#define KW_FLOAT64 272
|
#define KW_FLOAT64 272
|
||||||
#define KW_STRING 273
|
#define KW_STRING 273
|
||||||
#define KW_BLOB 274
|
#define KW_BLOB 274
|
||||||
#define KW_INT8ARRAY 275
|
#define KW_BLOB32 275
|
||||||
#define KW_INT16ARRAY 276
|
#define KW_INT8ARRAY 276
|
||||||
#define KW_INT32ARRAY 277
|
#define KW_INT16ARRAY 277
|
||||||
#define KW_UINT8ARRAY 278
|
#define KW_INT32ARRAY 278
|
||||||
#define KW_UINT16ARRAY 279
|
#define KW_UINT8ARRAY 279
|
||||||
#define KW_UINT32ARRAY 280
|
#define KW_UINT16ARRAY 280
|
||||||
#define KW_UINT32UINT8ARRAY 281
|
#define KW_UINT32ARRAY 281
|
||||||
#define KW_MOL 282
|
#define KW_UINT32UINT8ARRAY 282
|
||||||
#define KW_REQUIRED 283
|
#define KW_MOL 283
|
||||||
#define KW_BROADCAST 284
|
#define KW_REQUIRED 284
|
||||||
#define KW_P2P 285
|
#define KW_BROADCAST 285
|
||||||
#define KW_RAM 286
|
#define KW_P2P 286
|
||||||
#define KW_DB 287
|
#define KW_RAM 287
|
||||||
#define KW_CLSEND 288
|
#define KW_DB 288
|
||||||
#define KW_CLRECV 289
|
#define KW_CLSEND 289
|
||||||
#define KW_OWNSEND 290
|
#define KW_CLRECV 290
|
||||||
|
#define KW_OWNSEND 291
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -201,7 +203,7 @@ typedef int YYSTYPE;
|
|||||||
|
|
||||||
|
|
||||||
/* Line 214 of yacc.c. */
|
/* Line 214 of yacc.c. */
|
||||||
#line 204 "y.tab.c"
|
#line 206 "y.tab.c"
|
||||||
|
|
||||||
#if ! defined (yyoverflow) || YYERROR_VERBOSE
|
#if ! defined (yyoverflow) || YYERROR_VERBOSE
|
||||||
|
|
||||||
@ -300,20 +302,20 @@ union yyalloc
|
|||||||
/* YYFINAL -- State number of the termination state. */
|
/* YYFINAL -- State number of the termination state. */
|
||||||
#define YYFINAL 3
|
#define YYFINAL 3
|
||||||
/* YYLAST -- Last index in YYTABLE. */
|
/* YYLAST -- Last index in YYTABLE. */
|
||||||
#define YYLAST 79
|
#define YYLAST 80
|
||||||
|
|
||||||
/* YYNTOKENS -- Number of terminals. */
|
/* YYNTOKENS -- Number of terminals. */
|
||||||
#define YYNTOKENS 46
|
#define YYNTOKENS 47
|
||||||
/* YYNNTS -- Number of nonterminals. */
|
/* YYNNTS -- Number of nonterminals. */
|
||||||
#define YYNNTS 26
|
#define YYNNTS 26
|
||||||
/* YYNRULES -- Number of rules. */
|
/* YYNRULES -- Number of rules. */
|
||||||
#define YYNRULES 77
|
#define YYNRULES 78
|
||||||
/* YYNRULES -- Number of states. */
|
/* YYNRULES -- Number of states. */
|
||||||
#define YYNSTATES 101
|
#define YYNSTATES 102
|
||||||
|
|
||||||
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
|
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
|
||||||
#define YYUNDEFTOK 2
|
#define YYUNDEFTOK 2
|
||||||
#define YYMAXUTOK 290
|
#define YYMAXUTOK 291
|
||||||
|
|
||||||
#define YYTRANSLATE(YYX) \
|
#define YYTRANSLATE(YYX) \
|
||||||
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
|
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
|
||||||
@ -325,15 +327,15 @@ static const unsigned char yytranslate[] =
|
|||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
41, 42, 45, 2, 40, 2, 2, 43, 2, 2,
|
42, 43, 46, 2, 41, 2, 2, 44, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 39, 36,
|
2, 2, 2, 2, 2, 2, 2, 2, 40, 37,
|
||||||
2, 44, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 45, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 37, 2, 38, 2, 2, 2, 2,
|
2, 2, 2, 38, 2, 39, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||||||
@ -350,7 +352,7 @@ static const unsigned char yytranslate[] =
|
|||||||
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||||
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||||||
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
||||||
35
|
35, 36
|
||||||
};
|
};
|
||||||
|
|
||||||
#if YYDEBUG
|
#if YYDEBUG
|
||||||
@ -364,47 +366,48 @@ static const unsigned char yyprhs[] =
|
|||||||
86, 90, 94, 100, 102, 105, 107, 109, 111, 115,
|
86, 90, 94, 100, 102, 105, 107, 109, 111, 115,
|
||||||
117, 119, 121, 123, 127, 131, 135, 137, 139, 141,
|
117, 119, 121, 123, 127, 131, 135, 137, 139, 141,
|
||||||
143, 145, 147, 149, 151, 153, 155, 157, 159, 161,
|
143, 145, 147, 149, 151, 153, 155, 157, 159, 161,
|
||||||
163, 165, 167, 169, 171, 173, 176, 179, 182, 185,
|
163, 165, 167, 169, 171, 173, 175, 178, 181, 184,
|
||||||
188, 191, 194, 197, 198, 203, 205, 209
|
187, 190, 193, 196, 199, 200, 205, 207, 211
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
|
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
|
||||||
static const yysigned_char yyrhs[] =
|
static const yysigned_char yyrhs[] =
|
||||||
{
|
{
|
||||||
47, 0, -1, 71, -1, 47, 36, -1, 47, 48,
|
48, 0, -1, 72, -1, 48, 37, -1, 48, 49,
|
||||||
-1, -1, 8, 7, 49, 51, 37, 53, 38, -1,
|
-1, -1, 8, 7, 50, 52, 38, 54, 39, -1,
|
||||||
7, -1, 71, -1, 39, 52, -1, 50, -1, 52,
|
7, -1, 72, -1, 40, 53, -1, 51, -1, 53,
|
||||||
40, 50, -1, 71, -1, 53, 36, -1, 53, 54,
|
41, 51, -1, 72, -1, 54, 37, -1, 54, 55,
|
||||||
-1, 53, 68, -1, -1, 7, 41, 55, 57, 42,
|
-1, 54, 69, -1, -1, 7, 42, 56, 58, 43,
|
||||||
67, -1, 7, -1, 71, -1, 58, -1, 59, -1,
|
68, -1, 7, -1, 72, -1, 59, -1, 60, -1,
|
||||||
58, 40, 59, -1, -1, 66, 60, 61, -1, 71,
|
59, 41, 60, -1, -1, 67, 61, 62, -1, 72,
|
||||||
-1, 61, 43, 3, -1, 61, 7, -1, 61, 44,
|
-1, 62, 44, 3, -1, 62, 7, -1, 62, 45,
|
||||||
3, -1, 61, 44, 4, -1, 61, 44, 5, -1,
|
3, -1, 62, 45, 4, -1, 62, 45, 5, -1,
|
||||||
61, 44, 6, -1, 61, 44, 37, 62, 38, -1,
|
62, 45, 6, -1, 62, 45, 38, 63, 39, -1,
|
||||||
71, -1, 64, 63, -1, 71, -1, 40, -1, 65,
|
72, -1, 65, 64, -1, 72, -1, 41, -1, 66,
|
||||||
-1, 64, 40, 65, -1, 3, -1, 4, -1, 5,
|
-1, 65, 41, 66, -1, 3, -1, 4, -1, 5,
|
||||||
-1, 6, -1, 3, 45, 3, -1, 4, 45, 3,
|
-1, 6, -1, 3, 46, 3, -1, 4, 46, 3,
|
||||||
-1, 6, 45, 3, -1, 9, -1, 10, -1, 11,
|
-1, 6, 46, 3, -1, 9, -1, 10, -1, 11,
|
||||||
-1, 12, -1, 13, -1, 14, -1, 15, -1, 16,
|
-1, 12, -1, 13, -1, 14, -1, 15, -1, 16,
|
||||||
-1, 17, -1, 18, -1, 19, -1, 20, -1, 21,
|
-1, 17, -1, 18, -1, 19, -1, 20, -1, 21,
|
||||||
-1, 22, -1, 23, -1, 24, -1, 25, -1, 26,
|
-1, 22, -1, 23, -1, 24, -1, 25, -1, 26,
|
||||||
-1, 71, -1, 67, 28, -1, 67, 29, -1, 67,
|
-1, 27, -1, 72, -1, 68, 29, -1, 68, 30,
|
||||||
30, -1, 67, 31, -1, 67, 32, -1, 67, 33,
|
-1, 68, 31, -1, 68, 32, -1, 68, 33, -1,
|
||||||
-1, 67, 34, -1, 67, 35, -1, -1, 7, 39,
|
68, 34, -1, 68, 35, -1, 68, 36, -1, -1,
|
||||||
69, 70, -1, 56, -1, 70, 40, 56, -1, -1
|
7, 40, 70, 71, -1, 57, -1, 71, 41, 57,
|
||||||
|
-1, -1
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
|
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
|
||||||
static const unsigned short yyrline[] =
|
static const unsigned short yyrline[] =
|
||||||
{
|
{
|
||||||
0, 88, 88, 89, 90, 95, 94, 106, 120, 121,
|
0, 89, 89, 90, 91, 96, 95, 107, 121, 122,
|
||||||
125, 131, 140, 141, 142, 143, 148, 147, 159, 175,
|
126, 132, 141, 142, 143, 144, 149, 148, 160, 176,
|
||||||
176, 180, 181, 186, 185, 197, 198, 202, 206, 212,
|
177, 181, 182, 187, 186, 198, 199, 203, 207, 213,
|
||||||
218, 224, 230, 241, 242, 246, 247, 251, 252, 256,
|
219, 225, 231, 242, 243, 247, 248, 252, 253, 257,
|
||||||
262, 268, 274, 280, 289, 298, 310, 314, 318, 322,
|
263, 269, 275, 281, 290, 299, 311, 315, 319, 323,
|
||||||
326, 330, 334, 338, 342, 346, 350, 354, 358, 362,
|
327, 331, 335, 339, 343, 347, 351, 355, 359, 363,
|
||||||
366, 370, 374, 378, 385, 386, 390, 394, 398, 402,
|
367, 371, 375, 379, 383, 390, 391, 395, 399, 403,
|
||||||
406, 410, 414, 422, 421, 433, 439, 452
|
407, 411, 415, 419, 427, 426, 438, 444, 457
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -416,17 +419,18 @@ static const char *const yytname[] =
|
|||||||
"$end", "error", "$undefined", "INTEGER", "REAL", "STRING", "HEX_STRING",
|
"$end", "error", "$undefined", "INTEGER", "REAL", "STRING", "HEX_STRING",
|
||||||
"IDENTIFIER", "KW_DCLASS", "KW_INT8", "KW_INT16", "KW_INT32",
|
"IDENTIFIER", "KW_DCLASS", "KW_INT8", "KW_INT16", "KW_INT32",
|
||||||
"KW_INT64", "KW_UINT8", "KW_UINT16", "KW_UINT32", "KW_UINT64",
|
"KW_INT64", "KW_UINT8", "KW_UINT16", "KW_UINT32", "KW_UINT64",
|
||||||
"KW_FLOAT64", "KW_STRING", "KW_BLOB", "KW_INT8ARRAY", "KW_INT16ARRAY",
|
"KW_FLOAT64", "KW_STRING", "KW_BLOB", "KW_BLOB32", "KW_INT8ARRAY",
|
||||||
"KW_INT32ARRAY", "KW_UINT8ARRAY", "KW_UINT16ARRAY", "KW_UINT32ARRAY",
|
"KW_INT16ARRAY", "KW_INT32ARRAY", "KW_UINT8ARRAY", "KW_UINT16ARRAY",
|
||||||
"KW_UINT32UINT8ARRAY", "KW_MOL", "KW_REQUIRED", "KW_BROADCAST",
|
"KW_UINT32ARRAY", "KW_UINT32UINT8ARRAY", "KW_MOL", "KW_REQUIRED",
|
||||||
"KW_P2P", "KW_RAM", "KW_DB", "KW_CLSEND", "KW_CLRECV", "KW_OWNSEND",
|
"KW_BROADCAST", "KW_P2P", "KW_RAM", "KW_DB", "KW_CLSEND", "KW_CLRECV",
|
||||||
"';'", "'{'", "'}'", "':'", "','", "'('", "')'", "'/'", "'='", "'*'",
|
"KW_OWNSEND", "';'", "'{'", "'}'", "':'", "','", "'('", "')'", "'/'",
|
||||||
"$accept", "dc", "dclass", "@1", "dclass_name", "dclass_derivation",
|
"'='", "'*'", "$accept", "dc", "dclass", "@1", "dclass_name",
|
||||||
"base_list", "dclass_fields", "atomic_field", "@2", "atomic_name",
|
"dclass_derivation", "base_list", "dclass_fields", "atomic_field", "@2",
|
||||||
"parameter_list", "nonempty_parameter_list", "atomic_element", "@3",
|
"atomic_name", "parameter_list", "nonempty_parameter_list",
|
||||||
"atomic_element_definition", "default_array", "maybe_comma",
|
"atomic_element", "@3", "atomic_element_definition", "default_array",
|
||||||
"default_array_def", "default_array_element", "type_token",
|
"maybe_comma", "default_array_def", "default_array_element",
|
||||||
"atomic_flags", "molecular_field", "@4", "molecular_atom_list", "empty", 0
|
"type_token", "atomic_flags", "molecular_field", "@4",
|
||||||
|
"molecular_atom_list", "empty", 0
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -438,22 +442,22 @@ static const unsigned short yytoknum[] =
|
|||||||
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
||||||
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
||||||
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
||||||
285, 286, 287, 288, 289, 290, 59, 123, 125, 58,
|
285, 286, 287, 288, 289, 290, 291, 59, 123, 125,
|
||||||
44, 40, 41, 47, 61, 42
|
58, 44, 40, 41, 47, 61, 42
|
||||||
};
|
};
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
||||||
static const unsigned char yyr1[] =
|
static const unsigned char yyr1[] =
|
||||||
{
|
{
|
||||||
0, 46, 47, 47, 47, 49, 48, 50, 51, 51,
|
0, 47, 48, 48, 48, 50, 49, 51, 52, 52,
|
||||||
52, 52, 53, 53, 53, 53, 55, 54, 56, 57,
|
53, 53, 54, 54, 54, 54, 56, 55, 57, 58,
|
||||||
57, 58, 58, 60, 59, 61, 61, 61, 61, 61,
|
58, 59, 59, 61, 60, 62, 62, 62, 62, 62,
|
||||||
61, 61, 61, 62, 62, 63, 63, 64, 64, 65,
|
62, 62, 62, 63, 63, 64, 64, 65, 65, 66,
|
||||||
65, 65, 65, 65, 65, 65, 66, 66, 66, 66,
|
66, 66, 66, 66, 66, 66, 67, 67, 67, 67,
|
||||||
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
|
67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
||||||
66, 66, 66, 66, 67, 67, 67, 67, 67, 67,
|
67, 67, 67, 67, 67, 68, 68, 68, 68, 68,
|
||||||
67, 67, 67, 69, 68, 70, 70, 71
|
68, 68, 68, 68, 70, 69, 71, 71, 72
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
|
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
|
||||||
@ -465,8 +469,8 @@ static const unsigned char yyr2[] =
|
|||||||
3, 3, 5, 1, 2, 1, 1, 1, 3, 1,
|
3, 3, 5, 1, 2, 1, 1, 1, 3, 1,
|
||||||
1, 1, 1, 3, 3, 3, 1, 1, 1, 1,
|
1, 1, 1, 3, 3, 3, 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, 2, 2, 2, 2, 2,
|
1, 1, 1, 1, 1, 1, 2, 2, 2, 2,
|
||||||
2, 2, 2, 0, 4, 1, 3, 0
|
2, 2, 2, 2, 0, 4, 1, 3, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
|
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
|
||||||
@ -474,51 +478,51 @@ static const unsigned char yyr2[] =
|
|||||||
means the default is an error. */
|
means the default is an error. */
|
||||||
static const unsigned char yydefact[] =
|
static const unsigned char yydefact[] =
|
||||||
{
|
{
|
||||||
77, 0, 2, 1, 0, 3, 4, 5, 77, 0,
|
78, 0, 2, 1, 0, 3, 4, 5, 78, 0,
|
||||||
0, 8, 7, 10, 9, 77, 0, 0, 12, 11,
|
0, 8, 7, 10, 9, 78, 0, 0, 12, 11,
|
||||||
0, 13, 6, 14, 15, 73, 16, 0, 77, 18,
|
0, 13, 6, 14, 15, 74, 16, 0, 78, 18,
|
||||||
75, 74, 46, 47, 48, 49, 50, 51, 52, 53,
|
76, 75, 46, 47, 48, 49, 50, 51, 52, 53,
|
||||||
54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
|
54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
|
||||||
0, 20, 21, 23, 19, 0, 77, 0, 77, 76,
|
64, 0, 20, 21, 23, 19, 0, 78, 0, 78,
|
||||||
17, 64, 22, 24, 25, 65, 66, 67, 68, 69,
|
77, 17, 65, 22, 24, 25, 66, 67, 68, 69,
|
||||||
70, 71, 72, 27, 0, 0, 26, 28, 29, 30,
|
70, 71, 72, 73, 27, 0, 0, 26, 28, 29,
|
||||||
31, 77, 39, 40, 41, 42, 0, 77, 37, 33,
|
30, 31, 78, 39, 40, 41, 42, 0, 78, 37,
|
||||||
0, 0, 0, 32, 36, 34, 35, 43, 44, 45,
|
33, 0, 0, 0, 32, 36, 34, 35, 43, 44,
|
||||||
38
|
45, 38
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYDEFGOTO[NTERM-NUM]. */
|
/* YYDEFGOTO[NTERM-NUM]. */
|
||||||
static const yysigned_char yydefgoto[] =
|
static const yysigned_char yydefgoto[] =
|
||||||
{
|
{
|
||||||
-1, 1, 6, 8, 13, 10, 14, 17, 23, 28,
|
-1, 1, 6, 8, 13, 10, 14, 17, 23, 28,
|
||||||
30, 50, 51, 52, 58, 63, 86, 95, 87, 88,
|
30, 51, 52, 53, 59, 64, 87, 96, 88, 89,
|
||||||
53, 60, 24, 27, 31, 2
|
54, 61, 24, 27, 31, 2
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
||||||
STATE-NUM. */
|
STATE-NUM. */
|
||||||
#define YYPACT_NINF -36
|
#define YYPACT_NINF -37
|
||||||
static const yysigned_char yypact[] =
|
static const yysigned_char yypact[] =
|
||||||
{
|
{
|
||||||
-36, 3, -36, -36, -2, -36, -36, -36, -31, 2,
|
-37, 3, -37, -37, -2, -37, -37, -37, -32, 2,
|
||||||
-27, -36, -36, -36, -11, -36, 2, -5, -36, -36,
|
-28, -37, -37, -37, -20, -37, 2, -5, -37, -37,
|
||||||
-35, -36, -36, -36, -36, -36, -36, 23, 42, -36,
|
-36, -37, -37, -37, -37, -37, -37, 23, 43, -37,
|
||||||
-36, -4, -36, -36, -36, -36, -36, -36, -36, -36,
|
-37, -10, -37, -37, -37, -37, -37, -37, -37, -37,
|
||||||
-36, -36, -36, -36, -36, -36, -36, -36, -36, -36,
|
-37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
|
||||||
-10, 0, -36, -36, -36, 23, -36, 42, -36, -36,
|
-37, -1, -4, -37, -37, -37, 23, -37, 43, -37,
|
||||||
-7, -36, -36, -6, -36, -36, -36, -36, -36, -36,
|
-37, -7, -37, -37, -6, -37, -37, -37, -37, -37,
|
||||||
-36, -36, -36, -36, 31, 9, -36, -36, -36, -36,
|
-37, -37, -37, -37, -37, 30, 9, -37, -37, -37,
|
||||||
-36, 13, -3, -1, -36, 4, 5, 1, -36, -36,
|
-37, -37, 13, -11, -3, -37, 0, 5, 4, -37,
|
||||||
32, 44, 66, -36, 13, -36, -36, -36, -36, -36,
|
-37, 33, 38, 45, -37, 13, -37, -37, -37, -37,
|
||||||
-36
|
-37, -37
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYPGOTO[NTERM-NUM]. */
|
/* YYPGOTO[NTERM-NUM]. */
|
||||||
static const yysigned_char yypgoto[] =
|
static const yysigned_char yypgoto[] =
|
||||||
{
|
{
|
||||||
-36, -36, -36, -36, 29, -36, -36, -36, -36, -36,
|
-37, -37, -37, -37, 34, -37, -37, -37, -37, -37,
|
||||||
15, -36, -36, 14, -36, -36, -36, -36, -36, -22,
|
15, -37, -37, 14, -37, -37, -37, -37, -37, -22,
|
||||||
-36, -36, -36, -36, -36, -8
|
-37, -37, -37, -37, -37, -8
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
|
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
|
||||||
@ -528,43 +532,45 @@ static const yysigned_char yypgoto[] =
|
|||||||
#define YYTABLE_NINF -1
|
#define YYTABLE_NINF -1
|
||||||
static const unsigned char yytable[] =
|
static const unsigned char yytable[] =
|
||||||
{
|
{
|
||||||
11, 73, 20, 3, 25, 7, 26, 18, 9, 12,
|
11, 74, 20, 3, 25, 7, 26, 18, 9, 12,
|
||||||
15, 4, 77, 78, 79, 80, 82, 83, 84, 85,
|
15, 4, 78, 79, 80, 81, 83, 84, 85, 86,
|
||||||
54, 65, 66, 67, 68, 69, 70, 71, 72, 16,
|
55, 16, 66, 67, 68, 69, 70, 71, 72, 73,
|
||||||
29, 21, 56, 22, 76, 97, 55, 74, 75, 5,
|
29, 56, 21, 77, 22, 91, 98, 58, 75, 76,
|
||||||
57, 94, 90, 93, 91, 19, 81, 98, 61, 92,
|
5, 99, 57, 92, 94, 95, 93, 82, 100, 62,
|
||||||
64, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
19, 65, 32, 33, 34, 35, 36, 37, 38, 39,
|
||||||
41, 42, 43, 44, 45, 46, 47, 48, 49, 99,
|
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
||||||
59, 62, 100, 89, 0, 0, 0, 0, 0, 96
|
50, 60, 63, 101, 90, 0, 0, 0, 0, 0,
|
||||||
|
97
|
||||||
};
|
};
|
||||||
|
|
||||||
static const yysigned_char yycheck[] =
|
static const yysigned_char yycheck[] =
|
||||||
{
|
{
|
||||||
8, 7, 7, 0, 39, 7, 41, 15, 39, 7,
|
8, 7, 7, 0, 40, 7, 42, 15, 40, 7,
|
||||||
37, 8, 3, 4, 5, 6, 3, 4, 5, 6,
|
38, 8, 3, 4, 5, 6, 3, 4, 5, 6,
|
||||||
28, 28, 29, 30, 31, 32, 33, 34, 35, 40,
|
28, 41, 29, 30, 31, 32, 33, 34, 35, 36,
|
||||||
7, 36, 42, 38, 3, 3, 40, 43, 44, 36,
|
7, 41, 37, 3, 39, 46, 3, 41, 44, 45,
|
||||||
40, 40, 45, 38, 45, 16, 37, 3, 56, 45,
|
37, 3, 43, 46, 39, 41, 46, 38, 3, 57,
|
||||||
58, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
16, 59, 9, 10, 11, 12, 13, 14, 15, 16,
|
||||||
18, 19, 20, 21, 22, 23, 24, 25, 26, 3,
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
||||||
55, 57, 94, 81, -1, -1, -1, -1, -1, 87
|
27, 56, 58, 95, 82, -1, -1, -1, -1, -1,
|
||||||
|
88
|
||||||
};
|
};
|
||||||
|
|
||||||
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
||||||
symbol of state STATE-NUM. */
|
symbol of state STATE-NUM. */
|
||||||
static const unsigned char yystos[] =
|
static const unsigned char yystos[] =
|
||||||
{
|
{
|
||||||
0, 47, 71, 0, 8, 36, 48, 7, 49, 39,
|
0, 48, 72, 0, 8, 37, 49, 7, 50, 40,
|
||||||
51, 71, 7, 50, 52, 37, 40, 53, 71, 50,
|
52, 72, 7, 51, 53, 38, 41, 54, 72, 51,
|
||||||
7, 36, 38, 54, 68, 39, 41, 69, 55, 7,
|
7, 37, 39, 55, 69, 40, 42, 70, 56, 7,
|
||||||
56, 70, 9, 10, 11, 12, 13, 14, 15, 16,
|
57, 71, 9, 10, 11, 12, 13, 14, 15, 16,
|
||||||
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
||||||
57, 58, 59, 66, 71, 40, 42, 40, 60, 56,
|
27, 58, 59, 60, 67, 72, 41, 43, 41, 61,
|
||||||
67, 71, 59, 61, 71, 28, 29, 30, 31, 32,
|
57, 68, 72, 60, 62, 72, 29, 30, 31, 32,
|
||||||
33, 34, 35, 7, 43, 44, 3, 3, 4, 5,
|
33, 34, 35, 36, 7, 44, 45, 3, 3, 4,
|
||||||
6, 37, 3, 4, 5, 6, 62, 64, 65, 71,
|
5, 6, 38, 3, 4, 5, 6, 63, 65, 66,
|
||||||
45, 45, 45, 38, 40, 63, 71, 3, 3, 3,
|
72, 46, 46, 46, 39, 41, 64, 72, 3, 3,
|
||||||
65
|
3, 66
|
||||||
};
|
};
|
||||||
|
|
||||||
#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
|
#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
|
||||||
@ -1174,7 +1180,7 @@ yyreduce:
|
|||||||
switch (yyn)
|
switch (yyn)
|
||||||
{
|
{
|
||||||
case 5:
|
case 5:
|
||||||
#line 95 "dcParser.yxx"
|
#line 96 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_class = new DCClass;
|
current_class = new DCClass;
|
||||||
current_class->_name = yyvsp[0].str;
|
current_class->_name = yyvsp[0].str;
|
||||||
@ -1185,7 +1191,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 7:
|
case 7:
|
||||||
#line 107 "dcParser.yxx"
|
#line 108 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
DCFile::ClassesByName::const_iterator ni;
|
DCFile::ClassesByName::const_iterator ni;
|
||||||
ni = dc_file->_classes_by_name.find(yyvsp[0].str);
|
ni = dc_file->_classes_by_name.find(yyvsp[0].str);
|
||||||
@ -1199,7 +1205,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 10:
|
case 10:
|
||||||
#line 126 "dcParser.yxx"
|
#line 127 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (yyvsp[0].u.dclass != (DCClass *)NULL) {
|
if (yyvsp[0].u.dclass != (DCClass *)NULL) {
|
||||||
current_class->_parents.push_back(yyvsp[0].u.dclass);
|
current_class->_parents.push_back(yyvsp[0].u.dclass);
|
||||||
@ -1208,7 +1214,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 11:
|
case 11:
|
||||||
#line 132 "dcParser.yxx"
|
#line 133 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (yyvsp[0].u.dclass != (DCClass *)NULL) {
|
if (yyvsp[0].u.dclass != (DCClass *)NULL) {
|
||||||
current_class->_parents.push_back(yyvsp[0].u.dclass);
|
current_class->_parents.push_back(yyvsp[0].u.dclass);
|
||||||
@ -1217,7 +1223,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 16:
|
case 16:
|
||||||
#line 148 "dcParser.yxx"
|
#line 149 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic = new DCAtomicField;
|
current_atomic = new DCAtomicField;
|
||||||
current_atomic->_name = yyvsp[-1].str;
|
current_atomic->_name = yyvsp[-1].str;
|
||||||
@ -1228,7 +1234,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 18:
|
case 18:
|
||||||
#line 160 "dcParser.yxx"
|
#line 161 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
DCField *field = current_class->get_field_by_name(yyvsp[0].str);
|
DCField *field = current_class->get_field_by_name(yyvsp[0].str);
|
||||||
yyval.u.atomic = (DCAtomicField *)NULL;
|
yyval.u.atomic = (DCAtomicField *)NULL;
|
||||||
@ -1244,7 +1250,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 23:
|
case 23:
|
||||||
#line 186 "dcParser.yxx"
|
#line 187 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
atomic_element = DCAtomicField::ElementType();
|
atomic_element = DCAtomicField::ElementType();
|
||||||
atomic_element._type = yyvsp[0].u.subatomic;
|
atomic_element._type = yyvsp[0].u.subatomic;
|
||||||
@ -1252,28 +1258,28 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 24:
|
case 24:
|
||||||
#line 191 "dcParser.yxx"
|
#line 192 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_elements.push_back(atomic_element);
|
current_atomic->_elements.push_back(atomic_element);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 26:
|
case 26:
|
||||||
#line 199 "dcParser.yxx"
|
#line 200 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
atomic_element._divisor = yyvsp[0].u.integer;
|
atomic_element._divisor = yyvsp[0].u.integer;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 27:
|
case 27:
|
||||||
#line 203 "dcParser.yxx"
|
#line 204 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
atomic_element._name = yyvsp[0].str;
|
atomic_element._name = yyvsp[0].str;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 28:
|
case 28:
|
||||||
#line 207 "dcParser.yxx"
|
#line 208 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.set_default_value(yyvsp[0].u.integer)) {
|
if (!atomic_element.set_default_value(yyvsp[0].u.integer)) {
|
||||||
yyerror("Invalid default value: " + yyvsp[0].str);
|
yyerror("Invalid default value: " + yyvsp[0].str);
|
||||||
@ -1282,7 +1288,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 29:
|
case 29:
|
||||||
#line 213 "dcParser.yxx"
|
#line 214 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.set_default_value(yyvsp[0].u.real)) {
|
if (!atomic_element.set_default_value(yyvsp[0].u.real)) {
|
||||||
yyerror("Invalid default value: " + yyvsp[0].str);
|
yyerror("Invalid default value: " + yyvsp[0].str);
|
||||||
@ -1291,7 +1297,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 30:
|
case 30:
|
||||||
#line 219 "dcParser.yxx"
|
#line 220 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.set_default_value(yyvsp[0].str)) {
|
if (!atomic_element.set_default_value(yyvsp[0].str)) {
|
||||||
yyerror("Invalid default value: \"" + yyvsp[0].str + "\"");
|
yyerror("Invalid default value: \"" + yyvsp[0].str + "\"");
|
||||||
@ -1300,7 +1306,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 31:
|
case 31:
|
||||||
#line 225 "dcParser.yxx"
|
#line 226 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.set_default_value_literal(yyvsp[0].str)) {
|
if (!atomic_element.set_default_value_literal(yyvsp[0].str)) {
|
||||||
yyerror("Invalid default hex string value");
|
yyerror("Invalid default hex string value");
|
||||||
@ -1309,7 +1315,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 32:
|
case 32:
|
||||||
#line 231 "dcParser.yxx"
|
#line 232 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.end_array()) {
|
if (!atomic_element.end_array()) {
|
||||||
yyerror("Array default value inappropriate");
|
yyerror("Array default value inappropriate");
|
||||||
@ -1320,7 +1326,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 39:
|
case 39:
|
||||||
#line 257 "dcParser.yxx"
|
#line 258 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.add_default_value(yyvsp[0].u.integer)) {
|
if (!atomic_element.add_default_value(yyvsp[0].u.integer)) {
|
||||||
yyerror("Invalid default value: " + yyvsp[0].str);
|
yyerror("Invalid default value: " + yyvsp[0].str);
|
||||||
@ -1329,7 +1335,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 40:
|
case 40:
|
||||||
#line 263 "dcParser.yxx"
|
#line 264 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.add_default_value(yyvsp[0].u.real)) {
|
if (!atomic_element.add_default_value(yyvsp[0].u.real)) {
|
||||||
yyerror("Invalid default value: " + yyvsp[0].str);
|
yyerror("Invalid default value: " + yyvsp[0].str);
|
||||||
@ -1338,7 +1344,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 41:
|
case 41:
|
||||||
#line 269 "dcParser.yxx"
|
#line 270 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.add_default_value(yyvsp[0].str)) {
|
if (!atomic_element.add_default_value(yyvsp[0].str)) {
|
||||||
yyerror("Invalid default value: " + yyvsp[0].str);
|
yyerror("Invalid default value: " + yyvsp[0].str);
|
||||||
@ -1347,7 +1353,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 42:
|
case 42:
|
||||||
#line 275 "dcParser.yxx"
|
#line 276 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (!atomic_element.add_default_value_literal(yyvsp[0].str)) {
|
if (!atomic_element.add_default_value_literal(yyvsp[0].str)) {
|
||||||
yyerror("Invalid hex literal in default array");
|
yyerror("Invalid hex literal in default array");
|
||||||
@ -1356,7 +1362,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 43:
|
case 43:
|
||||||
#line 281 "dcParser.yxx"
|
#line 282 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
for (int i = 0; i < yyvsp[0].u.integer; i++) {
|
for (int i = 0; i < yyvsp[0].u.integer; i++) {
|
||||||
if (!atomic_element.add_default_value(yyvsp[-2].u.integer)) {
|
if (!atomic_element.add_default_value(yyvsp[-2].u.integer)) {
|
||||||
@ -1368,7 +1374,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 44:
|
case 44:
|
||||||
#line 290 "dcParser.yxx"
|
#line 291 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
for (int i = 0; i < yyvsp[0].u.integer; i++) {
|
for (int i = 0; i < yyvsp[0].u.integer; i++) {
|
||||||
if (!atomic_element.add_default_value(yyvsp[-2].u.real)) {
|
if (!atomic_element.add_default_value(yyvsp[-2].u.real)) {
|
||||||
@ -1380,7 +1386,7 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 45:
|
case 45:
|
||||||
#line 299 "dcParser.yxx"
|
#line 300 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
for (int i = 0; i < yyvsp[0].u.integer; i++) {
|
for (int i = 0; i < yyvsp[0].u.integer; i++) {
|
||||||
if (!atomic_element.add_default_value_literal(yyvsp[-2].str)) {
|
if (!atomic_element.add_default_value_literal(yyvsp[-2].str)) {
|
||||||
@ -1392,189 +1398,196 @@ yyreduce:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 46:
|
case 46:
|
||||||
#line 311 "dcParser.yxx"
|
#line 312 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_int8;
|
yyval.u.subatomic = ST_int8;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 47:
|
case 47:
|
||||||
#line 315 "dcParser.yxx"
|
#line 316 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_int16;
|
yyval.u.subatomic = ST_int16;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 48:
|
case 48:
|
||||||
#line 319 "dcParser.yxx"
|
#line 320 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_int32;
|
yyval.u.subatomic = ST_int32;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 49:
|
case 49:
|
||||||
#line 323 "dcParser.yxx"
|
#line 324 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_int64;
|
yyval.u.subatomic = ST_int64;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 50:
|
case 50:
|
||||||
#line 327 "dcParser.yxx"
|
#line 328 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_uint8;
|
yyval.u.subatomic = ST_uint8;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 51:
|
case 51:
|
||||||
#line 331 "dcParser.yxx"
|
#line 332 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_uint16;
|
yyval.u.subatomic = ST_uint16;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 52:
|
case 52:
|
||||||
#line 335 "dcParser.yxx"
|
#line 336 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_uint32;
|
yyval.u.subatomic = ST_uint32;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 53:
|
case 53:
|
||||||
#line 339 "dcParser.yxx"
|
#line 340 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_uint64;
|
yyval.u.subatomic = ST_uint64;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 54:
|
case 54:
|
||||||
#line 343 "dcParser.yxx"
|
#line 344 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_float64;
|
yyval.u.subatomic = ST_float64;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 55:
|
case 55:
|
||||||
#line 347 "dcParser.yxx"
|
#line 348 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_string;
|
yyval.u.subatomic = ST_string;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 56:
|
case 56:
|
||||||
#line 351 "dcParser.yxx"
|
#line 352 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_blob;
|
yyval.u.subatomic = ST_blob;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 57:
|
case 57:
|
||||||
#line 355 "dcParser.yxx"
|
#line 356 "dcParser.yxx"
|
||||||
|
{
|
||||||
|
yyval.u.subatomic = ST_blob32;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 58:
|
||||||
|
#line 360 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_int8array;
|
yyval.u.subatomic = ST_int8array;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 58:
|
case 59:
|
||||||
#line 359 "dcParser.yxx"
|
#line 364 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_int16array;
|
yyval.u.subatomic = ST_int16array;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 59:
|
case 60:
|
||||||
#line 363 "dcParser.yxx"
|
#line 368 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_int32array;
|
yyval.u.subatomic = ST_int32array;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 60:
|
case 61:
|
||||||
#line 367 "dcParser.yxx"
|
#line 372 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_uint8array;
|
yyval.u.subatomic = ST_uint8array;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 61:
|
case 62:
|
||||||
#line 371 "dcParser.yxx"
|
#line 376 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_uint16array;
|
yyval.u.subatomic = ST_uint16array;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 62:
|
case 63:
|
||||||
#line 375 "dcParser.yxx"
|
#line 380 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_uint32array;
|
yyval.u.subatomic = ST_uint32array;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 63:
|
case 64:
|
||||||
#line 379 "dcParser.yxx"
|
#line 384 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
yyval.u.subatomic = ST_uint32uint8array;
|
yyval.u.subatomic = ST_uint32uint8array;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 65:
|
case 66:
|
||||||
#line 387 "dcParser.yxx"
|
#line 392 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_flags |= DCAtomicField::F_required;
|
current_atomic->_flags |= DCAtomicField::F_required;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 66:
|
case 67:
|
||||||
#line 391 "dcParser.yxx"
|
#line 396 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_flags |= DCAtomicField::F_broadcast;
|
current_atomic->_flags |= DCAtomicField::F_broadcast;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 67:
|
case 68:
|
||||||
#line 395 "dcParser.yxx"
|
#line 400 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_flags |= DCAtomicField::F_p2p;
|
current_atomic->_flags |= DCAtomicField::F_p2p;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 68:
|
case 69:
|
||||||
#line 399 "dcParser.yxx"
|
#line 404 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_flags |= DCAtomicField::F_ram;
|
current_atomic->_flags |= DCAtomicField::F_ram;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 69:
|
case 70:
|
||||||
#line 403 "dcParser.yxx"
|
#line 408 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_flags |= DCAtomicField::F_db;
|
current_atomic->_flags |= DCAtomicField::F_db;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 70:
|
case 71:
|
||||||
#line 407 "dcParser.yxx"
|
#line 412 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_flags |= DCAtomicField::F_clsend;
|
current_atomic->_flags |= DCAtomicField::F_clsend;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 71:
|
case 72:
|
||||||
#line 411 "dcParser.yxx"
|
#line 416 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_flags |= DCAtomicField::F_clrecv;
|
current_atomic->_flags |= DCAtomicField::F_clrecv;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 72:
|
case 73:
|
||||||
#line 415 "dcParser.yxx"
|
#line 420 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_atomic->_flags |= DCAtomicField::F_ownsend;
|
current_atomic->_flags |= DCAtomicField::F_ownsend;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 73:
|
case 74:
|
||||||
#line 422 "dcParser.yxx"
|
#line 427 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
current_molecular = new DCMolecularField;
|
current_molecular = new DCMolecularField;
|
||||||
current_molecular->_name = yyvsp[-1].str;
|
current_molecular->_name = yyvsp[-1].str;
|
||||||
@ -1584,8 +1597,8 @@ yyreduce:
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 75:
|
case 76:
|
||||||
#line 434 "dcParser.yxx"
|
#line 439 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (yyvsp[0].u.atomic != (DCAtomicField *)NULL) {
|
if (yyvsp[0].u.atomic != (DCAtomicField *)NULL) {
|
||||||
current_molecular->_fields.push_back(yyvsp[0].u.atomic);
|
current_molecular->_fields.push_back(yyvsp[0].u.atomic);
|
||||||
@ -1593,8 +1606,8 @@ yyreduce:
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 76:
|
case 77:
|
||||||
#line 440 "dcParser.yxx"
|
#line 445 "dcParser.yxx"
|
||||||
{
|
{
|
||||||
if (yyvsp[0].u.atomic != (DCAtomicField *)NULL) {
|
if (yyvsp[0].u.atomic != (DCAtomicField *)NULL) {
|
||||||
current_molecular->_fields.push_back(yyvsp[0].u.atomic);
|
current_molecular->_fields.push_back(yyvsp[0].u.atomic);
|
||||||
@ -1611,7 +1624,7 @@ yyreduce:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Line 991 of yacc.c. */
|
/* Line 991 of yacc.c. */
|
||||||
#line 1614 "y.tab.c"
|
#line 1627 "y.tab.c"
|
||||||
|
|
||||||
yyvsp -= yylen;
|
yyvsp -= yylen;
|
||||||
yyssp -= yylen;
|
yyssp -= yylen;
|
||||||
|
@ -46,22 +46,23 @@
|
|||||||
KW_FLOAT64 = 272,
|
KW_FLOAT64 = 272,
|
||||||
KW_STRING = 273,
|
KW_STRING = 273,
|
||||||
KW_BLOB = 274,
|
KW_BLOB = 274,
|
||||||
KW_INT8ARRAY = 275,
|
KW_BLOB32 = 275,
|
||||||
KW_INT16ARRAY = 276,
|
KW_INT8ARRAY = 276,
|
||||||
KW_INT32ARRAY = 277,
|
KW_INT16ARRAY = 277,
|
||||||
KW_UINT8ARRAY = 278,
|
KW_INT32ARRAY = 278,
|
||||||
KW_UINT16ARRAY = 279,
|
KW_UINT8ARRAY = 279,
|
||||||
KW_UINT32ARRAY = 280,
|
KW_UINT16ARRAY = 280,
|
||||||
KW_UINT32UINT8ARRAY = 281,
|
KW_UINT32ARRAY = 281,
|
||||||
KW_MOL = 282,
|
KW_UINT32UINT8ARRAY = 282,
|
||||||
KW_REQUIRED = 283,
|
KW_MOL = 283,
|
||||||
KW_BROADCAST = 284,
|
KW_REQUIRED = 284,
|
||||||
KW_P2P = 285,
|
KW_BROADCAST = 285,
|
||||||
KW_RAM = 286,
|
KW_P2P = 286,
|
||||||
KW_DB = 287,
|
KW_RAM = 287,
|
||||||
KW_CLSEND = 288,
|
KW_DB = 288,
|
||||||
KW_CLRECV = 289,
|
KW_CLSEND = 289,
|
||||||
KW_OWNSEND = 290
|
KW_CLRECV = 290,
|
||||||
|
KW_OWNSEND = 291
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
#define INTEGER 258
|
#define INTEGER 258
|
||||||
@ -81,22 +82,23 @@
|
|||||||
#define KW_FLOAT64 272
|
#define KW_FLOAT64 272
|
||||||
#define KW_STRING 273
|
#define KW_STRING 273
|
||||||
#define KW_BLOB 274
|
#define KW_BLOB 274
|
||||||
#define KW_INT8ARRAY 275
|
#define KW_BLOB32 275
|
||||||
#define KW_INT16ARRAY 276
|
#define KW_INT8ARRAY 276
|
||||||
#define KW_INT32ARRAY 277
|
#define KW_INT16ARRAY 277
|
||||||
#define KW_UINT8ARRAY 278
|
#define KW_INT32ARRAY 278
|
||||||
#define KW_UINT16ARRAY 279
|
#define KW_UINT8ARRAY 279
|
||||||
#define KW_UINT32ARRAY 280
|
#define KW_UINT16ARRAY 280
|
||||||
#define KW_UINT32UINT8ARRAY 281
|
#define KW_UINT32ARRAY 281
|
||||||
#define KW_MOL 282
|
#define KW_UINT32UINT8ARRAY 282
|
||||||
#define KW_REQUIRED 283
|
#define KW_MOL 283
|
||||||
#define KW_BROADCAST 284
|
#define KW_REQUIRED 284
|
||||||
#define KW_P2P 285
|
#define KW_BROADCAST 285
|
||||||
#define KW_RAM 286
|
#define KW_P2P 286
|
||||||
#define KW_DB 287
|
#define KW_RAM 287
|
||||||
#define KW_CLSEND 288
|
#define KW_DB 288
|
||||||
#define KW_CLRECV 289
|
#define KW_CLSEND 289
|
||||||
#define KW_OWNSEND 290
|
#define KW_CLRECV 290
|
||||||
|
#define KW_OWNSEND 291
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,149 +1,38 @@
|
|||||||
/* A Bison parser, made by GNU Bison 1.875. */
|
#ifndef BISON_Y_TAB_H
|
||||||
|
# define BISON_Y_TAB_H
|
||||||
|
|
||||||
/* Skeleton parser for Yacc-like parsing with Bison,
|
# define NUMBER 257
|
||||||
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
|
# define ULONG 258
|
||||||
|
# define STRING 259
|
||||||
This program is free software; you can redistribute it and/or modify
|
# define BEZIERCURVE 260
|
||||||
it under the terms of the GNU General Public License as published by
|
# define BFACE 261
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
# define BILLBOARD 262
|
||||||
any later version.
|
# define BILLBOARDCENTER 263
|
||||||
|
# define BUNDLE 264
|
||||||
This program is distributed in the hope that it will be useful,
|
# define CLOSED 265
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# define COLLIDE 266
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# define COMMENT 267
|
||||||
GNU General Public License for more details.
|
# define COORDSYSTEM 268
|
||||||
|
# define CV 269
|
||||||
You should have received a copy of the GNU General Public License
|
# define DART 270
|
||||||
along with this program; if not, write to the Free Software
|
# define DNORMAL 271
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
# define DRGBA 272
|
||||||
Boston, MA 02111-1307, USA. */
|
# define DUV 273
|
||||||
|
# define DXYZ 274
|
||||||
/* As a special exception, when this file is copied by Bison into a
|
# define DCS 275
|
||||||
Bison output file, you may use that output file without restriction.
|
# define DISTANCE 276
|
||||||
This special exception was added by the Free Software Foundation
|
# define DTREF 277
|
||||||
in version 1.24 of Bison. */
|
# define DYNAMICVERTEXPOOL 278
|
||||||
|
# define EXTERNAL_FILE 279
|
||||||
/* Tokens. */
|
# define FLIGHT 280
|
||||||
#ifndef YYTOKENTYPE
|
# define GROUP 281
|
||||||
# define YYTOKENTYPE
|
# define HIP 282
|
||||||
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
# define INTANGENT 283
|
||||||
know about them. */
|
# define JOINT 284
|
||||||
enum yytokentype {
|
# define KNOTS 285
|
||||||
NUMBER = 258,
|
# define INCLUDE 286
|
||||||
ULONG = 259,
|
# define INSTANCE 287
|
||||||
STRING = 260,
|
# define LINE 288
|
||||||
BEZIERCURVE = 261,
|
|
||||||
BFACE = 262,
|
|
||||||
BILLBOARD = 263,
|
|
||||||
BILLBOARDCENTER = 264,
|
|
||||||
BUNDLE = 265,
|
|
||||||
CLOSED = 266,
|
|
||||||
COLLIDE = 267,
|
|
||||||
COMMENT = 268,
|
|
||||||
COORDSYSTEM = 269,
|
|
||||||
CV = 270,
|
|
||||||
DART = 271,
|
|
||||||
DNORMAL = 272,
|
|
||||||
DRGBA = 273,
|
|
||||||
DUV = 274,
|
|
||||||
DXYZ = 275,
|
|
||||||
DCS = 276,
|
|
||||||
DISTANCE = 277,
|
|
||||||
DTREF = 278,
|
|
||||||
DYNAMICVERTEXPOOL = 279,
|
|
||||||
EXTERNAL_FILE = 280,
|
|
||||||
FLIGHT = 281,
|
|
||||||
GROUP = 282,
|
|
||||||
HIP = 283,
|
|
||||||
INTANGENT = 284,
|
|
||||||
JOINT = 285,
|
|
||||||
KNOTS = 286,
|
|
||||||
INCLUDE = 287,
|
|
||||||
INSTANCE = 288,
|
|
||||||
LOOP = 289,
|
|
||||||
MATERIAL = 290,
|
|
||||||
MATRIX3 = 291,
|
|
||||||
MATRIX4 = 292,
|
|
||||||
MODEL = 293,
|
|
||||||
MREF = 294,
|
|
||||||
NORMAL = 295,
|
|
||||||
NURBSCURVE = 296,
|
|
||||||
NURBSSURFACE = 297,
|
|
||||||
OBJECTTYPE = 298,
|
|
||||||
ORDER = 299,
|
|
||||||
OUTTANGENT = 300,
|
|
||||||
POINTLIGHT = 301,
|
|
||||||
POLYGON = 302,
|
|
||||||
REF = 303,
|
|
||||||
RGBA = 304,
|
|
||||||
ROTATE = 305,
|
|
||||||
ROTX = 306,
|
|
||||||
ROTY = 307,
|
|
||||||
ROTZ = 308,
|
|
||||||
SANIM = 309,
|
|
||||||
SCALAR = 310,
|
|
||||||
SCALE = 311,
|
|
||||||
SEQUENCE = 312,
|
|
||||||
SHADING = 313,
|
|
||||||
SWITCH = 314,
|
|
||||||
SWITCHCONDITION = 315,
|
|
||||||
TABLE = 316,
|
|
||||||
TABLE_V = 317,
|
|
||||||
TAG = 318,
|
|
||||||
TEXLIST = 319,
|
|
||||||
TEXTURE = 320,
|
|
||||||
TLENGTHS = 321,
|
|
||||||
TRANSFORM = 322,
|
|
||||||
TRANSLATE = 323,
|
|
||||||
TREF = 324,
|
|
||||||
TRIM = 325,
|
|
||||||
TXT = 326,
|
|
||||||
UKNOTS = 327,
|
|
||||||
UV = 328,
|
|
||||||
VKNOTS = 329,
|
|
||||||
VERTEX = 330,
|
|
||||||
VERTEXANIM = 331,
|
|
||||||
VERTEXPOOL = 332,
|
|
||||||
VERTEXREF = 333,
|
|
||||||
XFMANIM = 334,
|
|
||||||
XFMSANIM = 335,
|
|
||||||
START_EGG = 336,
|
|
||||||
START_GROUP_BODY = 337,
|
|
||||||
START_TEXTURE_BODY = 338,
|
|
||||||
START_PRIMITIVE_BODY = 339
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
#define NUMBER 258
|
|
||||||
#define ULONG 259
|
|
||||||
#define STRING 260
|
|
||||||
#define BEZIERCURVE 261
|
|
||||||
#define BFACE 262
|
|
||||||
#define BILLBOARD 263
|
|
||||||
#define BILLBOARDCENTER 264
|
|
||||||
#define BUNDLE 265
|
|
||||||
#define CLOSED 266
|
|
||||||
#define COLLIDE 267
|
|
||||||
#define COMMENT 268
|
|
||||||
#define COORDSYSTEM 269
|
|
||||||
#define CV 270
|
|
||||||
#define DART 271
|
|
||||||
#define DNORMAL 272
|
|
||||||
#define DRGBA 273
|
|
||||||
#define DUV 274
|
|
||||||
#define DXYZ 275
|
|
||||||
#define DCS 276
|
|
||||||
#define DISTANCE 277
|
|
||||||
#define DTREF 278
|
|
||||||
#define DYNAMICVERTEXPOOL 279
|
|
||||||
#define EXTERNAL_FILE 280
|
|
||||||
#define FLIGHT 281
|
|
||||||
#define GROUP 282
|
|
||||||
#define HIP 283
|
|
||||||
#define INTANGENT 284
|
|
||||||
#define JOINT 285
|
|
||||||
#define KNOTS 286
|
|
||||||
#define INCLUDE 287
|
|
||||||
#define INSTANCE 288
|
|
||||||
# define LOOP 289
|
# define LOOP 289
|
||||||
# define MATERIAL 290
|
# define MATERIAL 290
|
||||||
# define MATRIX3 291
|
# define MATRIX3 291
|
||||||
@ -197,16 +86,6 @@
|
|||||||
# define START_PRIMITIVE_BODY 339
|
# define START_PRIMITIVE_BODY 339
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
|
||||||
typedef int YYSTYPE;
|
|
||||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
||||||
# define YYSTYPE_IS_DECLARED 1
|
|
||||||
# define YYSTYPE_IS_TRIVIAL 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern YYSTYPE eggyylval;
|
extern YYSTYPE eggyylval;
|
||||||
|
|
||||||
|
#endif /* not BISON_Y_TAB_H */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user