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