| 1 | #################################################################### | ||
| 2 | # | ||
| 3 | # This file was generated using Parse::Yapp version 1.05. | ||
| 4 | # | ||
| 5 | # Don't edit this file, use source file instead. | ||
| 6 | # | ||
| 7 | # ANY CHANGE MADE HERE WILL BE LOST ! | ||
| 8 | # | ||
| 9 | #################################################################### | ||
| 10 | package CORBA::IDL::Parser; | ||
| 11 | use vars qw ( @ISA ); | ||
| 12 | use strict; | ||
| 13 | |||
| 14 | @ISA= qw ( Parse::Yapp::Driver ); | ||
| 15 | use Parse::Yapp::Driver; | ||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | sub new { | ||
| 20 | my($class)=shift; | ||
| 21 | ref($class) | ||
| 22 | and $class=ref($class); | ||
| 23 | |||
| 24 | my($self)=$class->SUPER::new( yyversion => '1.05', | ||
| 25 | yystates => | ||
| 26 | [ | ||
| 27 | {#State 0 | ||
| 28 | ACTIONS => { | ||
| 29 | '' => -2, | ||
| 30 | 'INTERFACE' => -29, | ||
| 31 | 'ENUM' => 30, | ||
| 32 | 'VALUETYPE' => -76, | ||
| 33 | 'CUSTOM' => 3, | ||
| 34 | 'UNION' => 34, | ||
| 35 | 'NATIVE' => 10, | ||
| 36 | 'TYPEDEF' => 13, | ||
| 37 | 'error' => 36, | ||
| 38 | 'EXCEPTION' => 15, | ||
| 39 | 'IDENTIFIER' => 22, | ||
| 40 | 'MODULE' => 38, | ||
| 41 | 'STRUCT' => 24, | ||
| 42 | 'CONST' => 39, | ||
| 43 | 'ABSTRACT' => 26 | ||
| 44 | }, | ||
| 45 | GOTOS => { | ||
| 46 | 'union_type' => 1, | ||
| 47 | 'value_dcl' => 2, | ||
| 48 | 'value_box_dcl' => 4, | ||
| 49 | 'enum_header' => 5, | ||
| 50 | 'definitions' => 31, | ||
| 51 | 'module_header' => 33, | ||
| 52 | 'definition' => 32, | ||
| 53 | 'struct_type' => 6, | ||
| 54 | 'union_header' => 7, | ||
| 55 | 'value_box_header' => 8, | ||
| 56 | 'specification' => 35, | ||
| 57 | 'except_dcl' => 9, | ||
| 58 | 'value_header' => 11, | ||
| 59 | 'interface_mod' => 14, | ||
| 60 | 'struct_header' => 12, | ||
| 61 | 'interface' => 16, | ||
| 62 | 'type_dcl' => 17, | ||
| 63 | 'module' => 37, | ||
| 64 | 'interface_header' => 19, | ||
| 65 | 'value_forward_dcl' => 18, | ||
| 66 | 'value_mod' => 20, | ||
| 67 | 'enum_type' => 21, | ||
| 68 | 'value' => 23, | ||
| 69 | 'value_abs_dcl' => 40, | ||
| 70 | 'value_abs_header' => 25, | ||
| 71 | 'forward_dcl' => 41, | ||
| 72 | 'exception_header' => 27, | ||
| 73 | 'const_dcl' => 28, | ||
| 74 | 'interface_dcl' => 29 | ||
| 75 | } | ||
| 76 | }, | ||
| 77 | {#State 1 | ||
| 78 | DEFAULT => -166 | ||
| 79 | }, | ||
| 80 | {#State 2 | ||
| 81 | DEFAULT => -54 | ||
| 82 | }, | ||
| 83 | {#State 3 | ||
| 84 | DEFAULT => -75 | ||
| 85 | }, | ||
| 86 | {#State 4 | ||
| 87 | DEFAULT => -56 | ||
| 88 | }, | ||
| 89 | {#State 5 | ||
| 90 | ACTIONS => { | ||
| 91 | "{" => 43, | ||
| 92 | 'error' => 42 | ||
| 93 | } | ||
| 94 | }, | ||
| 95 | {#State 6 | ||
| 96 | DEFAULT => -165 | ||
| 97 | }, | ||
| 98 | {#State 7 | ||
| 99 | ACTIONS => { | ||
| 100 | 'SWITCH' => 44 | ||
| 101 | } | ||
| 102 | }, | ||
| 103 | {#State 8 | ||
| 104 | ACTIONS => { | ||
| 105 | "::" => 69, | ||
| 106 | 'ENUM' => 30, | ||
| 107 | 'CHAR' => 70, | ||
| 108 | 'OBJECT' => 74, | ||
| 109 | 'STRING' => 77, | ||
| 110 | 'OCTET' => 47, | ||
| 111 | 'WSTRING' => 79, | ||
| 112 | 'UNION' => 34, | ||
| 113 | 'UNSIGNED' => 49, | ||
| 114 | 'ANY' => 50, | ||
| 115 | 'FLOAT' => 82, | ||
| 116 | 'LONG' => 51, | ||
| 117 | 'SEQUENCE' => 84, | ||
| 118 | 'IDENTIFIER' => 56, | ||
| 119 | 'DOUBLE' => 85, | ||
| 120 | 'SHORT' => 86, | ||
| 121 | 'BOOLEAN' => 88, | ||
| 122 | 'STRUCT' => 24, | ||
| 123 | 'VOID' => 61, | ||
| 124 | 'FIXED' => 91, | ||
| 125 | 'VALUEBASE' => 93, | ||
| 126 | 'WCHAR' => 66 | ||
| 127 | }, | ||
| 128 | GOTOS => { | ||
| 129 | 'union_type' => 45, | ||
| 130 | 'enum_header' => 5, | ||
| 131 | 'unsigned_short_int' => 46, | ||
| 132 | 'struct_type' => 48, | ||
| 133 | 'union_header' => 7, | ||
| 134 | 'struct_header' => 12, | ||
| 135 | 'signed_longlong_int' => 52, | ||
| 136 | 'enum_type' => 53, | ||
| 137 | 'any_type' => 54, | ||
| 138 | 'template_type_spec' => 55, | ||
| 139 | 'unsigned_long_int' => 57, | ||
| 140 | 'scoped_name' => 58, | ||
| 141 | 'string_type' => 59, | ||
| 142 | 'char_type' => 60, | ||
| 143 | 'fixed_pt_type' => 64, | ||
| 144 | 'signed_long_int' => 62, | ||
| 145 | 'signed_short_int' => 63, | ||
| 146 | 'wide_char_type' => 65, | ||
| 147 | 'octet_type' => 67, | ||
| 148 | 'wide_string_type' => 68, | ||
| 149 | 'object_type' => 71, | ||
| 150 | 'type_spec' => 72, | ||
| 151 | 'integer_type' => 73, | ||
| 152 | 'unsigned_int' => 75, | ||
| 153 | 'sequence_type' => 76, | ||
| 154 | 'unsigned_longlong_int' => 78, | ||
| 155 | 'constr_type_spec' => 80, | ||
| 156 | 'floating_pt_type' => 81, | ||
| 157 | 'value_base_type' => 83, | ||
| 158 | 'base_type_spec' => 87, | ||
| 159 | 'signed_int' => 89, | ||
| 160 | 'simple_type_spec' => 90, | ||
| 161 | 'boolean_type' => 92 | ||
| 162 | } | ||
| 163 | }, | ||
| 164 | {#State 9 | ||
| 165 | ACTIONS => { | ||
| 166 | ";" => 95, | ||
| 167 | 'error' => 96 | ||
| 168 | }, | ||
| 169 | GOTOS => { | ||
| 170 | 'check_semicolon' => 94 | ||
| 171 | } | ||
| 172 | }, | ||
| 173 | {#State 10 | ||
| 174 | ACTIONS => { | ||
| 175 | 'IDENTIFIER' => 98, | ||
| 176 | 'error' => 99 | ||
| 177 | }, | ||
| 178 | GOTOS => { | ||
| 179 | 'simple_declarator' => 97 | ||
| 180 | } | ||
| 181 | }, | ||
| 182 | {#State 11 | ||
| 183 | ACTIONS => { | ||
| 184 | "{" => 100 | ||
| 185 | } | ||
| 186 | }, | ||
| 187 | {#State 12 | ||
| 188 | ACTIONS => { | ||
| 189 | "{" => 101 | ||
| 190 | } | ||
| 191 | }, | ||
| 192 | {#State 13 | ||
| 193 | ACTIONS => { | ||
| 194 | "::" => 69, | ||
| 195 | 'ENUM' => 30, | ||
| 196 | 'CHAR' => 70, | ||
| 197 | 'OBJECT' => 74, | ||
| 198 | 'STRING' => 77, | ||
| 199 | 'OCTET' => 47, | ||
| 200 | 'WSTRING' => 79, | ||
| 201 | 'UNION' => 34, | ||
| 202 | 'UNSIGNED' => 49, | ||
| 203 | 'error' => 104, | ||
| 204 | 'ANY' => 50, | ||
| 205 | 'FLOAT' => 82, | ||
| 206 | 'LONG' => 51, | ||
| 207 | 'SEQUENCE' => 84, | ||
| 208 | 'IDENTIFIER' => 56, | ||
| 209 | 'DOUBLE' => 85, | ||
| 210 | 'SHORT' => 86, | ||
| 211 | 'BOOLEAN' => 88, | ||
| 212 | 'STRUCT' => 24, | ||
| 213 | 'VOID' => 61, | ||
| 214 | 'FIXED' => 91, | ||
| 215 | 'VALUEBASE' => 93, | ||
| 216 | 'WCHAR' => 66 | ||
| 217 | }, | ||
| 218 | GOTOS => { | ||
| 219 | 'union_type' => 45, | ||
| 220 | 'enum_header' => 5, | ||
| 221 | 'unsigned_short_int' => 46, | ||
| 222 | 'struct_type' => 48, | ||
| 223 | 'union_header' => 7, | ||
| 224 | 'struct_header' => 12, | ||
| 225 | 'type_declarator' => 102, | ||
| 226 | 'signed_longlong_int' => 52, | ||
| 227 | 'enum_type' => 53, | ||
| 228 | 'any_type' => 54, | ||
| 229 | 'template_type_spec' => 55, | ||
| 230 | 'unsigned_long_int' => 57, | ||
| 231 | 'scoped_name' => 58, | ||
| 232 | 'string_type' => 59, | ||
| 233 | 'char_type' => 60, | ||
| 234 | 'fixed_pt_type' => 64, | ||
| 235 | 'signed_short_int' => 63, | ||
| 236 | 'signed_long_int' => 62, | ||
| 237 | 'wide_char_type' => 65, | ||
| 238 | 'octet_type' => 67, | ||
| 239 | 'wide_string_type' => 68, | ||
| 240 | 'object_type' => 71, | ||
| 241 | 'type_spec' => 103, | ||
| 242 | 'integer_type' => 73, | ||
| 243 | 'unsigned_int' => 75, | ||
| 244 | 'sequence_type' => 76, | ||
| 245 | 'unsigned_longlong_int' => 78, | ||
| 246 | 'constr_type_spec' => 80, | ||
| 247 | 'floating_pt_type' => 81, | ||
| 248 | 'value_base_type' => 83, | ||
| 249 | 'base_type_spec' => 87, | ||
| 250 | 'signed_int' => 89, | ||
| 251 | 'simple_type_spec' => 90, | ||
| 252 | 'boolean_type' => 92 | ||
| 253 | } | ||
| 254 | }, | ||
| 255 | {#State 14 | ||
| 256 | ACTIONS => { | ||
| 257 | 'INTERFACE' => 105 | ||
| 258 | } | ||
| 259 | }, | ||
| 260 | {#State 15 | ||
| 261 | ACTIONS => { | ||
| 262 | 'IDENTIFIER' => 106, | ||
| 263 | 'error' => 107 | ||
| 264 | } | ||
| 265 | }, | ||
| 266 | {#State 16 | ||
| 267 | ACTIONS => { | ||
| 268 | ";" => 95, | ||
| 269 | 'error' => 96 | ||
| 270 | }, | ||
| 271 | GOTOS => { | ||
| 272 | 'check_semicolon' => 108 | ||
| 273 | } | ||
| 274 | }, | ||
| 275 | {#State 17 | ||
| 276 | ACTIONS => { | ||
| 277 | ";" => 95, | ||
| 278 | 'error' => 96 | ||
| 279 | }, | ||
| 280 | GOTOS => { | ||
| 281 | 'check_semicolon' => 109 | ||
| 282 | } | ||
| 283 | }, | ||
| 284 | {#State 18 | ||
| 285 | DEFAULT => -57 | ||
| 286 | }, | ||
| 287 | {#State 19 | ||
| 288 | ACTIONS => { | ||
| 289 | "{" => 110 | ||
| 290 | } | ||
| 291 | }, | ||
| 292 | {#State 20 | ||
| 293 | ACTIONS => { | ||
| 294 | 'VALUETYPE' => 111 | ||
| 295 | } | ||
| 296 | }, | ||
| 297 | {#State 21 | ||
| 298 | DEFAULT => -167 | ||
| 299 | }, | ||
| 300 | {#State 22 | ||
| 301 | ACTIONS => { | ||
| 302 | 'error' => 112 | ||
| 303 | } | ||
| 304 | }, | ||
| 305 | {#State 23 | ||
| 306 | ACTIONS => { | ||
| 307 | ";" => 95, | ||
| 308 | 'error' => 96 | ||
| 309 | }, | ||
| 310 | GOTOS => { | ||
| 311 | 'check_semicolon' => 113 | ||
| 312 | } | ||
| 313 | }, | ||
| 314 | {#State 24 | ||
| 315 | ACTIONS => { | ||
| 316 | 'IDENTIFIER' => 114, | ||
| 317 | 'error' => 115 | ||
| 318 | } | ||
| 319 | }, | ||
| 320 | {#State 25 | ||
| 321 | ACTIONS => { | ||
| 322 | "{" => 116 | ||
| 323 | } | ||
| 324 | }, | ||
| 325 | {#State 26 | ||
| 326 | ACTIONS => { | ||
| 327 | 'INTERFACE' => -28, | ||
| 328 | 'VALUETYPE' => 117, | ||
| 329 | 'error' => 118 | ||
| 330 | } | ||
| 331 | }, | ||
| 332 | {#State 27 | ||
| 333 | ACTIONS => { | ||
| 334 | "{" => 120, | ||
| 335 | 'error' => 119 | ||
| 336 | } | ||
| 337 | }, | ||
| 338 | {#State 28 | ||
| 339 | ACTIONS => { | ||
| 340 | ";" => 95, | ||
| 341 | 'error' => 96 | ||
| 342 | }, | ||
| 343 | GOTOS => { | ||
| 344 | 'check_semicolon' => 121 | ||
| 345 | } | ||
| 346 | }, | ||
| 347 | {#State 29 | ||
| 348 | DEFAULT => -21 | ||
| 349 | }, | ||
| 350 | {#State 30 | ||
| 351 | ACTIONS => { | ||
| 352 | 'IDENTIFIER' => 122, | ||
| 353 | 'error' => 123 | ||
| 354 | } | ||
| 355 | }, | ||
| 356 | {#State 31 | ||
| 357 | DEFAULT => -1 | ||
| 358 | }, | ||
| 359 | {#State 32 | ||
| 360 | ACTIONS => { | ||
| 361 | 'INTERFACE' => -29, | ||
| 362 | 'ENUM' => 30, | ||
| 363 | 'VALUETYPE' => -76, | ||
| 364 | 'CUSTOM' => 3, | ||
| 365 | 'UNION' => 34, | ||
| 366 | 'NATIVE' => 10, | ||
| 367 | 'TYPEDEF' => 13, | ||
| 368 | 'EXCEPTION' => 15, | ||
| 369 | 'IDENTIFIER' => 22, | ||
| 370 | 'MODULE' => 38, | ||
| 371 | 'STRUCT' => 24, | ||
| 372 | 'CONST' => 39, | ||
| 373 | 'ABSTRACT' => 26 | ||
| 374 | }, | ||
| 375 | DEFAULT => -4, | ||
| 376 | GOTOS => { | ||
| 377 | 'union_type' => 1, | ||
| 378 | 'value_dcl' => 2, | ||
| 379 | 'value_box_dcl' => 4, | ||
| 380 | 'enum_header' => 5, | ||
| 381 | 'definitions' => 124, | ||
| 382 | 'definition' => 32, | ||
| 383 | 'module_header' => 33, | ||
| 384 | 'struct_type' => 6, | ||
| 385 | 'union_header' => 7, | ||
| 386 | 'value_box_header' => 8, | ||
| 387 | 'except_dcl' => 9, | ||
| 388 | 'value_header' => 11, | ||
| 389 | 'interface_mod' => 14, | ||
| 390 | 'struct_header' => 12, | ||
| 391 | 'interface' => 16, | ||
| 392 | 'type_dcl' => 17, | ||
| 393 | 'module' => 37, | ||
| 394 | 'interface_header' => 19, | ||
| 395 | 'value_forward_dcl' => 18, | ||
| 396 | 'value_mod' => 20, | ||
| 397 | 'enum_type' => 21, | ||
| 398 | 'value' => 23, | ||
| 399 | 'value_abs_dcl' => 40, | ||
| 400 | 'value_abs_header' => 25, | ||
| 401 | 'forward_dcl' => 41, | ||
| 402 | 'exception_header' => 27, | ||
| 403 | 'const_dcl' => 28, | ||
| 404 | 'interface_dcl' => 29 | ||
| 405 | } | ||
| 406 | }, | ||
| 407 | {#State 33 | ||
| 408 | ACTIONS => { | ||
| 409 | "{" => 126, | ||
| 410 | 'error' => 125 | ||
| 411 | } | ||
| 412 | }, | ||
| 413 | {#State 34 | ||
| 414 | ACTIONS => { | ||
| 415 | 'IDENTIFIER' => 127, | ||
| 416 | 'error' => 128 | ||
| 417 | } | ||
| 418 | }, | ||
| 419 | {#State 35 | ||
| 420 | ACTIONS => { | ||
| 421 | '' => 129 | ||
| 422 | } | ||
| 423 | }, | ||
| 424 | {#State 36 | ||
| 425 | DEFAULT => -3 | ||
| 426 | }, | ||
| 427 | {#State 37 | ||
| 428 | ACTIONS => { | ||
| 429 | ";" => 95, | ||
| 430 | 'error' => 96 | ||
| 431 | }, | ||
| 432 | GOTOS => { | ||
| 433 | 'check_semicolon' => 130 | ||
| 434 | } | ||
| 435 | }, | ||
| 436 | {#State 38 | ||
| 437 | ACTIONS => { | ||
| 438 | 'IDENTIFIER' => 131, | ||
| 439 | 'error' => 132 | ||
| 440 | } | ||
| 441 | }, | ||
| 442 | {#State 39 | ||
| 443 | ACTIONS => { | ||
| 444 | 'DOUBLE' => 85, | ||
| 445 | "::" => 69, | ||
| 446 | 'IDENTIFIER' => 56, | ||
| 447 | 'SHORT' => 86, | ||
| 448 | 'CHAR' => 70, | ||
| 449 | 'BOOLEAN' => 88, | ||
| 450 | 'STRING' => 77, | ||
| 451 | 'OCTET' => 47, | ||
| 452 | 'WSTRING' => 79, | ||
| 453 | 'UNSIGNED' => 49, | ||
| 454 | 'FIXED' => 144, | ||
| 455 | 'error' => 141, | ||
| 456 | 'FLOAT' => 82, | ||
| 457 | 'LONG' => 51, | ||
| 458 | 'WCHAR' => 66 | ||
| 459 | }, | ||
| 460 | GOTOS => { | ||
| 461 | 'wide_string_type' => 138, | ||
| 462 | 'integer_type' => 139, | ||
| 463 | 'unsigned_int' => 75, | ||
| 464 | 'unsigned_short_int' => 46, | ||
| 465 | 'unsigned_longlong_int' => 78, | ||
| 466 | 'floating_pt_type' => 140, | ||
| 467 | 'const_type' => 142, | ||
| 468 | 'signed_longlong_int' => 52, | ||
| 469 | 'unsigned_long_int' => 57, | ||
| 470 | 'scoped_name' => 133, | ||
| 471 | 'string_type' => 134, | ||
| 472 | 'signed_int' => 89, | ||
| 473 | 'fixed_pt_const_type' => 143, | ||
| 474 | 'char_type' => 135, | ||
| 475 | 'signed_short_int' => 63, | ||
| 476 | 'signed_long_int' => 62, | ||
| 477 | 'boolean_type' => 145, | ||
| 478 | 'wide_char_type' => 136, | ||
| 479 | 'octet_type' => 137 | ||
| 480 | } | ||
| 481 | }, | ||
| 482 | {#State 40 | ||
| 483 | DEFAULT => -55 | ||
| 484 | }, | ||
| 485 | {#State 41 | ||
| 486 | DEFAULT => -22 | ||
| 487 | }, | ||
| 488 | {#State 42 | ||
| 489 | DEFAULT => -256 | ||
| 490 | }, | ||
| 491 | {#State 43 | ||
| 492 | ACTIONS => { | ||
| 493 | 'IDENTIFIER' => 146, | ||
| 494 | 'error' => 148 | ||
| 495 | }, | ||
| 496 | GOTOS => { | ||
| 497 | 'enumerators' => 149, | ||
| 498 | 'enumerator' => 147 | ||
| 499 | } | ||
| 500 | }, | ||
| 501 | {#State 44 | ||
| 502 | ACTIONS => { | ||
| 503 | "(" => 150, | ||
| 504 | 'error' => 151 | ||
| 505 | } | ||
| 506 | }, | ||
| 507 | {#State 45 | ||
| 508 | DEFAULT => -191 | ||
| 509 | }, | ||
| 510 | {#State 46 | ||
| 511 | DEFAULT => -212 | ||
| 512 | }, | ||
| 513 | {#State 47 | ||
| 514 | DEFAULT => -221 | ||
| 515 | }, | ||
| 516 | {#State 48 | ||
| 517 | DEFAULT => -190 | ||
| 518 | }, | ||
| 519 | {#State 49 | ||
| 520 | ACTIONS => { | ||
| 521 | 'SHORT' => 153, | ||
| 522 | 'LONG' => 152 | ||
| 523 | } | ||
| 524 | }, | ||
| 525 | {#State 50 | ||
| 526 | DEFAULT => -222 | ||
| 527 | }, | ||
| 528 | {#State 51 | ||
| 529 | ACTIONS => { | ||
| 530 | 'DOUBLE' => 155, | ||
| 531 | 'LONG' => 154 | ||
| 532 | }, | ||
| 533 | DEFAULT => -210 | ||
| 534 | }, | ||
| 535 | {#State 52 | ||
| 536 | DEFAULT => -208 | ||
| 537 | }, | ||
| 538 | {#State 53 | ||
| 539 | DEFAULT => -192 | ||
| 540 | }, | ||
| 541 | {#State 54 | ||
| 542 | DEFAULT => -183 | ||
| 543 | }, | ||
| 544 | {#State 55 | ||
| 545 | DEFAULT => -174 | ||
| 546 | }, | ||
| 547 | {#State 56 | ||
| 548 | DEFAULT => -49 | ||
| 549 | }, | ||
| 550 | {#State 57 | ||
| 551 | DEFAULT => -213 | ||
| 552 | }, | ||
| 553 | {#State 58 | ||
| 554 | ACTIONS => { | ||
| 555 | "::" => 156 | ||
| 556 | }, | ||
| 557 | DEFAULT => -175 | ||
| 558 | }, | ||
| 559 | {#State 59 | ||
| 560 | DEFAULT => -187 | ||
| 561 | }, | ||
| 562 | {#State 60 | ||
| 563 | DEFAULT => -179 | ||
| 564 | }, | ||
| 565 | {#State 61 | ||
| 566 | DEFAULT => -176 | ||
| 567 | }, | ||
| 568 | {#State 62 | ||
| 569 | DEFAULT => -207 | ||
| 570 | }, | ||
| 571 | {#State 63 | ||
| 572 | DEFAULT => -206 | ||
| 573 | }, | ||
| 574 | {#State 64 | ||
| 575 | DEFAULT => -189 | ||
| 576 | }, | ||
| 577 | {#State 65 | ||
| 578 | DEFAULT => -180 | ||
| 579 | }, | ||
| 580 | {#State 66 | ||
| 581 | DEFAULT => -219 | ||
| 582 | }, | ||
| 583 | {#State 67 | ||
| 584 | DEFAULT => -182 | ||
| 585 | }, | ||
| 586 | {#State 68 | ||
| 587 | DEFAULT => -188 | ||
| 588 | }, | ||
| 589 | {#State 69 | ||
| 590 | ACTIONS => { | ||
| 591 | 'IDENTIFIER' => 157, | ||
| 592 | 'error' => 158 | ||
| 593 | } | ||
| 594 | }, | ||
| 595 | {#State 70 | ||
| 596 | DEFAULT => -218 | ||
| 597 | }, | ||
| 598 | {#State 71 | ||
| 599 | DEFAULT => -184 | ||
| 600 | }, | ||
| 601 | {#State 72 | ||
| 602 | DEFAULT => -60 | ||
| 603 | }, | ||
| 604 | {#State 73 | ||
| 605 | DEFAULT => -178 | ||
| 606 | }, | ||
| 607 | {#State 74 | ||
| 608 | DEFAULT => -223 | ||
| 609 | }, | ||
| 610 | {#State 75 | ||
| 611 | DEFAULT => -205 | ||
| 612 | }, | ||
| 613 | {#State 76 | ||
| 614 | DEFAULT => -186 | ||
| 615 | }, | ||
| 616 | {#State 77 | ||
| 617 | ACTIONS => { | ||
| 618 | "<" => 159 | ||
| 619 | }, | ||
| 620 | DEFAULT => -270 | ||
| 621 | }, | ||
| 622 | {#State 78 | ||
| 623 | DEFAULT => -214 | ||
| 624 | }, | ||
| 625 | {#State 79 | ||
| 626 | ACTIONS => { | ||
| 627 | "<" => 160 | ||
| 628 | }, | ||
| 629 | DEFAULT => -273 | ||
| 630 | }, | ||
| 631 | {#State 80 | ||
| 632 | DEFAULT => -172 | ||
| 633 | }, | ||
| 634 | {#State 81 | ||
| 635 | DEFAULT => -177 | ||
| 636 | }, | ||
| 637 | {#State 82 | ||
| 638 | DEFAULT => -201 | ||
| 639 | }, | ||
| 640 | {#State 83 | ||
| 641 | DEFAULT => -185 | ||
| 642 | }, | ||
| 643 | {#State 84 | ||
| 644 | ACTIONS => { | ||
| 645 | "<" => 161, | ||
| 646 | 'error' => 162 | ||
| 647 | } | ||
| 648 | }, | ||
| 649 | {#State 85 | ||
| 650 | DEFAULT => -202 | ||
| 651 | }, | ||
| 652 | {#State 86 | ||
| 653 | DEFAULT => -209 | ||
| 654 | }, | ||
| 655 | {#State 87 | ||
| 656 | DEFAULT => -173 | ||
| 657 | }, | ||
| 658 | {#State 88 | ||
| 659 | DEFAULT => -220 | ||
| 660 | }, | ||
| 661 | {#State 89 | ||
| 662 | DEFAULT => -204 | ||
| 663 | }, | ||
| 664 | {#State 90 | ||
| 665 | DEFAULT => -171 | ||
| 666 | }, | ||
| 667 | {#State 91 | ||
| 668 | ACTIONS => { | ||
| 669 | "<" => 163, | ||
| 670 | 'error' => 164 | ||
| 671 | } | ||
| 672 | }, | ||
| 673 | {#State 92 | ||
| 674 | DEFAULT => -181 | ||
| 675 | }, | ||
| 676 | {#State 93 | ||
| 677 | DEFAULT => -344 | ||
| 678 | }, | ||
| 679 | {#State 94 | ||
| 680 | DEFAULT => -8 | ||
| 681 | }, | ||
| 682 | {#State 95 | ||
| 683 | DEFAULT => -13 | ||
| 684 | }, | ||
| 685 | {#State 96 | ||
| 686 | DEFAULT => -14 | ||
| 687 | }, | ||
| 688 | {#State 97 | ||
| 689 | DEFAULT => -168 | ||
| 690 | }, | ||
| 691 | {#State 98 | ||
| 692 | DEFAULT => -197 | ||
| 693 | }, | ||
| 694 | {#State 99 | ||
| 695 | ACTIONS => { | ||
| 696 | ";" => 165, | ||
| 697 | "," => 166 | ||
| 698 | } | ||
| 699 | }, | ||
| 700 | {#State 100 | ||
| 701 | ACTIONS => { | ||
| 702 | "}" => 167, | ||
| 703 | 'OCTET' => -297, | ||
| 704 | 'NATIVE' => 10, | ||
| 705 | 'UNSIGNED' => -297, | ||
| 706 | 'TYPEDEF' => 13, | ||
| 707 | 'EXCEPTION' => 15, | ||
| 708 | 'ANY' => -297, | ||
| 709 | 'LONG' => -297, | ||
| 710 | 'IDENTIFIER' => -297, | ||
| 711 | 'STRUCT' => 24, | ||
| 712 | 'VOID' => -297, | ||
| 713 | 'WCHAR' => -297, | ||
| 714 | 'ENUM' => 30, | ||
| 715 | 'FACTORY' => 177, | ||
| 716 | "::" => -297, | ||
| 717 | 'PRIVATE' => 179, | ||
| 718 | 'CHAR' => -297, | ||
| 719 | 'OBJECT' => -297, | ||
| 720 | 'ONEWAY' => 182, | ||
| 721 | 'STRING' => -297, | ||
| 722 | 'WSTRING' => -297, | ||
| 723 | 'UNION' => 34, | ||
| 724 | 'error' => 184, | ||
| 725 | 'FLOAT' => -297, | ||
| 726 | 'ATTRIBUTE' => -283, | ||
| 727 | 'PUBLIC' => 187, | ||
| 728 | 'SEQUENCE' => -297, | ||
| 729 | 'DOUBLE' => -297, | ||
| 730 | 'SHORT' => -297, | ||
| 731 | 'BOOLEAN' => -297, | ||
| 732 | 'CONST' => 39, | ||
| 733 | 'READONLY' => 188, | ||
| 734 | 'FIXED' => -297, | ||
| 735 | 'VALUEBASE' => -297 | ||
| 736 | }, | ||
| 737 | GOTOS => { | ||
| 738 | 'op_header' => 176, | ||
| 739 | 'union_type' => 1, | ||
| 740 | 'attr_mod' => 168, | ||
| 741 | 'init_header_param' => 178, | ||
| 742 | 'init_header' => 180, | ||
| 743 | 'enum_header' => 5, | ||
| 744 | 'op_dcl' => 181, | ||
| 745 | 'attr_dcl' => 183, | ||
| 746 | 'struct_type' => 6, | ||
| 747 | 'union_header' => 7, | ||
| 748 | 'except_dcl' => 169, | ||
| 749 | 'struct_header' => 12, | ||
| 750 | 'state_member' => 185, | ||
| 751 | 'type_dcl' => 171, | ||
| 752 | 'export' => 170, | ||
| 753 | 'state_mod' => 186, | ||
| 754 | 'enum_type' => 21, | ||
| 755 | 'op_attribute' => 172, | ||
| 756 | 'op_mod' => 173, | ||
| 757 | 'value_elements' => 189, | ||
| 758 | 'value_element' => 174, | ||
| 759 | 'exception_header' => 27, | ||
| 760 | 'const_dcl' => 175, | ||
| 761 | 'init_dcl' => 190 | ||
| 762 | } | ||
| 763 | }, | ||
| 764 | {#State 101 | ||
| 765 | ACTIONS => { | ||
| 766 | "::" => 69, | ||
| 767 | 'ENUM' => 30, | ||
| 768 | 'CHAR' => 70, | ||
| 769 | 'OBJECT' => 74, | ||
| 770 | 'STRING' => 77, | ||
| 771 | 'OCTET' => 47, | ||
| 772 | 'WSTRING' => 79, | ||
| 773 | 'UNION' => 34, | ||
| 774 | 'UNSIGNED' => 49, | ||
| 775 | 'error' => 194, | ||
| 776 | 'ANY' => 50, | ||
| 777 | 'FLOAT' => 82, | ||
| 778 | 'LONG' => 51, | ||
| 779 | 'SEQUENCE' => 84, | ||
| 780 | 'IDENTIFIER' => 56, | ||
| 781 | 'DOUBLE' => 85, | ||
| 782 | 'SHORT' => 86, | ||
| 783 | 'BOOLEAN' => 88, | ||
| 784 | 'STRUCT' => 24, | ||
| 785 | 'VOID' => 61, | ||
| 786 | 'FIXED' => 91, | ||
| 787 | 'VALUEBASE' => 93, | ||
| 788 | 'WCHAR' => 66 | ||
| 789 | }, | ||
| 790 | GOTOS => { | ||
| 791 | 'union_type' => 45, | ||
| 792 | 'enum_header' => 5, | ||
| 793 | 'unsigned_short_int' => 46, | ||
| 794 | 'struct_type' => 48, | ||
| 795 | 'union_header' => 7, | ||
| 796 | 'struct_header' => 12, | ||
| 797 | 'member_list' => 191, | ||
| 798 | 'signed_longlong_int' => 52, | ||
| 799 | 'enum_type' => 53, | ||
| 800 | 'any_type' => 54, | ||
| 801 | 'template_type_spec' => 55, | ||
| 802 | 'member' => 192, | ||
| 803 | 'unsigned_long_int' => 57, | ||
| 804 | 'scoped_name' => 58, | ||
| 805 | 'string_type' => 59, | ||
| 806 | 'char_type' => 60, | ||
| 807 | 'fixed_pt_type' => 64, | ||
| 808 | 'signed_short_int' => 63, | ||
| 809 | 'signed_long_int' => 62, | ||
| 810 | 'wide_char_type' => 65, | ||
| 811 | 'octet_type' => 67, | ||
| 812 | 'wide_string_type' => 68, | ||
| 813 | 'object_type' => 71, | ||
| 814 | 'type_spec' => 193, | ||
| 815 | 'integer_type' => 73, | ||
| 816 | 'unsigned_int' => 75, | ||
| 817 | 'sequence_type' => 76, | ||
| 818 | 'unsigned_longlong_int' => 78, | ||
| 819 | 'constr_type_spec' => 80, | ||
| 820 | 'floating_pt_type' => 81, | ||
| 821 | 'value_base_type' => 83, | ||
| 822 | 'base_type_spec' => 87, | ||
| 823 | 'signed_int' => 89, | ||
| 824 | 'simple_type_spec' => 90, | ||
| 825 | 'boolean_type' => 92 | ||
| 826 | } | ||
| 827 | }, | ||
| 828 | {#State 102 | ||
| 829 | DEFAULT => -164 | ||
| 830 | }, | ||
| 831 | {#State 103 | ||
| 832 | ACTIONS => { | ||
| 833 | 'IDENTIFIER' => 196, | ||
| 834 | 'error' => 99 | ||
| 835 | }, | ||
| 836 | GOTOS => { | ||
| 837 | 'declarators' => 198, | ||
| 838 | 'array_declarator' => 199, | ||
| 839 | 'simple_declarator' => 195, | ||
| 840 | 'declarator' => 197, | ||
| 841 | 'complex_declarator' => 200 | ||
| 842 | } | ||
| 843 | }, | ||
| 844 | {#State 104 | ||
| 845 | DEFAULT => -169 | ||
| 846 | }, | ||
| 847 | {#State 105 | ||
| 848 | ACTIONS => { | ||
| 849 | 'IDENTIFIER' => 201, | ||
| 850 | 'error' => 202 | ||
| 851 | } | ||
| 852 | }, | ||
| 853 | {#State 106 | ||
| 854 | DEFAULT => -290 | ||
| 855 | }, | ||
| 856 | {#State 107 | ||
| 857 | DEFAULT => -291 | ||
| 858 | }, | ||
| 859 | {#State 108 | ||
| 860 | DEFAULT => -9 | ||
| 861 | }, | ||
| 862 | {#State 109 | ||
| 863 | DEFAULT => -6 | ||
| 864 | }, | ||
| 865 | {#State 110 | ||
| 866 | ACTIONS => { | ||
| 867 | "}" => 203, | ||
| 868 | 'OCTET' => -297, | ||
| 869 | 'NATIVE' => 10, | ||
| 870 | 'UNSIGNED' => -297, | ||
| 871 | 'TYPEDEF' => 13, | ||
| 872 | 'EXCEPTION' => 15, | ||
| 873 | 'ANY' => -297, | ||
| 874 | 'LONG' => -297, | ||
| 875 | 'IDENTIFIER' => -297, | ||
| 876 | 'STRUCT' => 24, | ||
| 877 | 'VOID' => -297, | ||
| 878 | 'WCHAR' => -297, | ||
| 879 | 'ENUM' => 30, | ||
| 880 | 'FACTORY' => 177, | ||
| 881 | "::" => -297, | ||
| 882 | 'PRIVATE' => 179, | ||
| 883 | 'CHAR' => -297, | ||
| 884 | 'OBJECT' => -297, | ||
| 885 | 'ONEWAY' => 182, | ||
| 886 | 'STRING' => -297, | ||
| 887 | 'WSTRING' => -297, | ||
| 888 | 'UNION' => 34, | ||
| 889 | 'error' => 208, | ||
| 890 | 'FLOAT' => -297, | ||
| 891 | 'ATTRIBUTE' => -283, | ||
| 892 | 'PUBLIC' => 187, | ||
| 893 | 'SEQUENCE' => -297, | ||
| 894 | 'DOUBLE' => -297, | ||
| 895 | 'SHORT' => -297, | ||
| 896 | 'BOOLEAN' => -297, | ||
| 897 | 'CONST' => 39, | ||
| 898 | 'READONLY' => 188, | ||
| 899 | 'FIXED' => -297, | ||
| 900 | 'VALUEBASE' => -297 | ||
| 901 | }, | ||
| 902 | GOTOS => { | ||
| 903 | 'op_header' => 176, | ||
| 904 | 'union_type' => 1, | ||
| 905 | 'interface_body' => 206, | ||
| 906 | 'attr_mod' => 168, | ||
| 907 | 'init_header_param' => 178, | ||
| 908 | 'init_header' => 180, | ||
| 909 | 'enum_header' => 5, | ||
| 910 | 'op_dcl' => 181, | ||
| 911 | 'exports' => 207, | ||
| 912 | 'attr_dcl' => 183, | ||
| 913 | 'struct_type' => 6, | ||
| 914 | 'union_header' => 7, | ||
| 915 | 'except_dcl' => 169, | ||
| 916 | 'struct_header' => 12, | ||
| 917 | 'state_member' => 209, | ||
| 918 | 'export' => 204, | ||
| 919 | 'type_dcl' => 171, | ||
| 920 | 'state_mod' => 186, | ||
| 921 | 'enum_type' => 21, | ||
| 922 | 'op_attribute' => 172, | ||
| 923 | 'op_mod' => 173, | ||
| 924 | '_export' => 205, | ||
| 925 | 'exception_header' => 27, | ||
| 926 | 'const_dcl' => 175, | ||
| 927 | 'init_dcl' => 210 | ||
| 928 | } | ||
| 929 | }, | ||
| 930 | {#State 111 | ||
| 931 | ACTIONS => { | ||
| 932 | 'IDENTIFIER' => 211, | ||
| 933 | 'error' => 212 | ||
| 934 | } | ||
| 935 | }, | ||
| 936 | {#State 112 | ||
| 937 | ACTIONS => { | ||
| 938 | ";" => 213 | ||
| 939 | } | ||
| 940 | }, | ||
| 941 | {#State 113 | ||
| 942 | DEFAULT => -11 | ||
| 943 | }, | ||
| 944 | {#State 114 | ||
| 945 | DEFAULT => -226 | ||
| 946 | }, | ||
| 947 | {#State 115 | ||
| 948 | DEFAULT => -227 | ||
| 949 | }, | ||
| 950 | {#State 116 | ||
| 951 | ACTIONS => { | ||
| 952 | "}" => 214, | ||
| 953 | 'OCTET' => -297, | ||
| 954 | 'NATIVE' => 10, | ||
| 955 | 'UNSIGNED' => -297, | ||
| 956 | 'TYPEDEF' => 13, | ||
| 957 | 'EXCEPTION' => 15, | ||
| 958 | 'ANY' => -297, | ||
| 959 | 'LONG' => -297, | ||
| 960 | 'IDENTIFIER' => -297, | ||
| 961 | 'STRUCT' => 24, | ||
| 962 | 'VOID' => -297, | ||
| 963 | 'WCHAR' => -297, | ||
| 964 | 'ENUM' => 30, | ||
| 965 | 'FACTORY' => 177, | ||
| 966 | "::" => -297, | ||
| 967 | 'PRIVATE' => 179, | ||
| 968 | 'CHAR' => -297, | ||
| 969 | 'OBJECT' => -297, | ||
| 970 | 'ONEWAY' => 182, | ||
| 971 | 'STRING' => -297, | ||
| 972 | 'WSTRING' => -297, | ||
| 973 | 'UNION' => 34, | ||
| 974 | 'error' => 216, | ||
| 975 | 'FLOAT' => -297, | ||
| 976 | 'ATTRIBUTE' => -283, | ||
| 977 | 'PUBLIC' => 187, | ||
| 978 | 'SEQUENCE' => -297, | ||
| 979 | 'DOUBLE' => -297, | ||
| 980 | 'SHORT' => -297, | ||
| 981 | 'BOOLEAN' => -297, | ||
| 982 | 'CONST' => 39, | ||
| 983 | 'READONLY' => 188, | ||
| 984 | 'FIXED' => -297, | ||
| 985 | 'VALUEBASE' => -297 | ||
| 986 | }, | ||
| 987 | GOTOS => { | ||
| 988 | 'op_header' => 176, | ||
| 989 | 'union_type' => 1, | ||
| 990 | 'attr_mod' => 168, | ||
| 991 | 'init_header_param' => 178, | ||
| 992 | 'init_header' => 180, | ||
| 993 | 'enum_header' => 5, | ||
| 994 | 'op_dcl' => 181, | ||
| 995 | 'exports' => 215, | ||
| 996 | 'attr_dcl' => 183, | ||
| 997 | 'struct_type' => 6, | ||
| 998 | 'union_header' => 7, | ||
| 999 | 'except_dcl' => 169, | ||
| 1000 | 'struct_header' => 12, | ||
| 1001 | 'state_member' => 209, | ||
| 1002 | 'export' => 204, | ||
| 1003 | 'type_dcl' => 171, | ||
| 1004 | 'state_mod' => 186, | ||
| 1005 | 'enum_type' => 21, | ||
| 1006 | 'op_attribute' => 172, | ||
| 1007 | 'op_mod' => 173, | ||
| 1008 | '_export' => 205, | ||
| 1009 | 'exception_header' => 27, | ||
| 1010 | 'const_dcl' => 175, | ||
| 1011 | 'init_dcl' => 210 | ||
| 1012 | } | ||
| 1013 | }, | ||
| 1014 | {#State 117 | ||
| 1015 | ACTIONS => { | ||
| 1016 | 'IDENTIFIER' => 217, | ||
| 1017 | 'error' => 218 | ||
| 1018 | } | ||
| 1019 | }, | ||
| 1020 | {#State 118 | ||
| 1021 | DEFAULT => -67 | ||
| 1022 | }, | ||
| 1023 | {#State 119 | ||
| 1024 | DEFAULT => -289 | ||
| 1025 | }, | ||
| 1026 | {#State 120 | ||
| 1027 | ACTIONS => { | ||
| 1028 | "}" => 219, | ||
| 1029 | "::" => 69, | ||
| 1030 | 'ENUM' => 30, | ||
| 1031 | 'CHAR' => 70, | ||
| 1032 | 'OBJECT' => 74, | ||
| 1033 | 'STRING' => 77, | ||
| 1034 | 'OCTET' => 47, | ||
| 1035 | 'WSTRING' => 79, | ||
| 1036 | 'UNION' => 34, | ||
| 1037 | 'UNSIGNED' => 49, | ||
| 1038 | 'error' => 221, | ||
| 1039 | 'ANY' => 50, | ||
| 1040 | 'FLOAT' => 82, | ||
| 1041 | 'LONG' => 51, | ||
| 1042 | 'SEQUENCE' => 84, | ||
| 1043 | 'DOUBLE' => 85, | ||
| 1044 | 'IDENTIFIER' => 56, | ||
| 1045 | 'SHORT' => 86, | ||
| 1046 | 'BOOLEAN' => 88, | ||
| 1047 | 'STRUCT' => 24, | ||
| 1048 | 'VOID' => 61, | ||
| 1049 | 'FIXED' => 91, | ||
| 1050 | 'VALUEBASE' => 93, | ||
| 1051 | 'WCHAR' => 66 | ||
| 1052 | }, | ||
| 1053 | GOTOS => { | ||
| 1054 | 'union_type' => 45, | ||
| 1055 | 'enum_header' => 5, | ||
| 1056 | 'unsigned_short_int' => 46, | ||
| 1057 | 'struct_type' => 48, | ||
| 1058 | 'union_header' => 7, | ||
| 1059 | 'struct_header' => 12, | ||
| 1060 | 'member_list' => 220, | ||
| 1061 | 'signed_longlong_int' => 52, | ||
| 1062 | 'enum_type' => 53, | ||
| 1063 | 'any_type' => 54, | ||
| 1064 | 'template_type_spec' => 55, | ||
| 1065 | 'member' => 192, | ||
| 1066 | 'unsigned_long_int' => 57, | ||
| 1067 | 'scoped_name' => 58, | ||
| 1068 | 'string_type' => 59, | ||
| 1069 | 'char_type' => 60, | ||
| 1070 | 'fixed_pt_type' => 64, | ||
| 1071 | 'signed_short_int' => 63, | ||
| 1072 | 'signed_long_int' => 62, | ||
| 1073 | 'wide_char_type' => 65, | ||
| 1074 | 'octet_type' => 67, | ||
| 1075 | 'wide_string_type' => 68, | ||
| 1076 | 'object_type' => 71, | ||
| 1077 | 'type_spec' => 193, | ||
| 1078 | 'integer_type' => 73, | ||
| 1079 | 'unsigned_int' => 75, | ||
| 1080 | 'sequence_type' => 76, | ||
| 1081 | 'unsigned_longlong_int' => 78, | ||
| 1082 | 'constr_type_spec' => 80, | ||
| 1083 | 'floating_pt_type' => 81, | ||
| 1084 | 'value_base_type' => 83, | ||
| 1085 | 'base_type_spec' => 87, | ||
| 1086 | 'signed_int' => 89, | ||
| 1087 | 'simple_type_spec' => 90, | ||
| 1088 | 'boolean_type' => 92 | ||
| 1089 | } | ||
| 1090 | }, | ||
| 1091 | {#State 121 | ||
| 1092 | DEFAULT => -7 | ||
| 1093 | }, | ||
| 1094 | {#State 122 | ||
| 1095 | DEFAULT => -257 | ||
| 1096 | }, | ||
| 1097 | {#State 123 | ||
| 1098 | DEFAULT => -258 | ||
| 1099 | }, | ||
| 1100 | {#State 124 | ||
| 1101 | DEFAULT => -5 | ||
| 1102 | }, | ||
| 1103 | {#State 125 | ||
| 1104 | ACTIONS => { | ||
| 1105 | "}" => 222 | ||
| 1106 | } | ||
| 1107 | }, | ||
| 1108 | {#State 126 | ||
| 1109 | ACTIONS => { | ||
| 1110 | "}" => 223, | ||
| 1111 | 'INTERFACE' => -29, | ||
| 1112 | 'ENUM' => 30, | ||
| 1113 | 'VALUETYPE' => -76, | ||
| 1114 | 'CUSTOM' => 3, | ||
| 1115 | 'UNION' => 34, | ||
| 1116 | 'NATIVE' => 10, | ||
| 1117 | 'TYPEDEF' => 13, | ||
| 1118 | 'error' => 225, | ||
| 1119 | 'EXCEPTION' => 15, | ||
| 1120 | 'IDENTIFIER' => 22, | ||
| 1121 | 'MODULE' => 38, | ||
| 1122 | 'STRUCT' => 24, | ||
| 1123 | 'CONST' => 39, | ||
| 1124 | 'ABSTRACT' => 26 | ||
| 1125 | }, | ||
| 1126 | GOTOS => { | ||
| 1127 | 'union_type' => 1, | ||
| 1128 | 'value_dcl' => 2, | ||
| 1129 | 'value_box_dcl' => 4, | ||
| 1130 | 'enum_header' => 5, | ||
| 1131 | 'definitions' => 224, | ||
| 1132 | 'definition' => 32, | ||
| 1133 | 'module_header' => 33, | ||
| 1134 | 'struct_type' => 6, | ||
| 1135 | 'union_header' => 7, | ||
| 1136 | 'value_box_header' => 8, | ||
| 1137 | 'except_dcl' => 9, | ||
| 1138 | 'value_header' => 11, | ||
| 1139 | 'interface_mod' => 14, | ||
| 1140 | 'struct_header' => 12, | ||
| 1141 | 'interface' => 16, | ||
| 1142 | 'type_dcl' => 17, | ||
| 1143 | 'module' => 37, | ||
| 1144 | 'interface_header' => 19, | ||
| 1145 | 'value_forward_dcl' => 18, | ||
| 1146 | 'value_mod' => 20, | ||
| 1147 | 'enum_type' => 21, | ||
| 1148 | 'value' => 23, | ||
| 1149 | 'value_abs_dcl' => 40, | ||
| 1150 | 'value_abs_header' => 25, | ||
| 1151 | 'forward_dcl' => 41, | ||
| 1152 | 'exception_header' => 27, | ||
| 1153 | 'const_dcl' => 28, | ||
| 1154 | 'interface_dcl' => 29 | ||
| 1155 | } | ||
| 1156 | }, | ||
| 1157 | {#State 127 | ||
| 1158 | DEFAULT => -236 | ||
| 1159 | }, | ||
| 1160 | {#State 128 | ||
| 1161 | DEFAULT => -237 | ||
| 1162 | }, | ||
| 1163 | {#State 129 | ||
| 1164 | DEFAULT => 0 | ||
| 1165 | }, | ||
| 1166 | {#State 130 | ||
| 1167 | DEFAULT => -10 | ||
| 1168 | }, | ||
| 1169 | {#State 131 | ||
| 1170 | DEFAULT => -19 | ||
| 1171 | }, | ||
| 1172 | {#State 132 | ||
| 1173 | DEFAULT => -20 | ||
| 1174 | }, | ||
| 1175 | {#State 133 | ||
| 1176 | ACTIONS => { | ||
| 1177 | "::" => 156 | ||
| 1178 | }, | ||
| 1179 | DEFAULT => -121 | ||
| 1180 | }, | ||
| 1181 | {#State 134 | ||
| 1182 | DEFAULT => -118 | ||
| 1183 | }, | ||
| 1184 | {#State 135 | ||
| 1185 | DEFAULT => -114 | ||
| 1186 | }, | ||
| 1187 | {#State 136 | ||
| 1188 | DEFAULT => -115 | ||
| 1189 | }, | ||
| 1190 | {#State 137 | ||
| 1191 | DEFAULT => -122 | ||
| 1192 | }, | ||
| 1193 | {#State 138 | ||
| 1194 | DEFAULT => -119 | ||
| 1195 | }, | ||
| 1196 | {#State 139 | ||
| 1197 | DEFAULT => -113 | ||
| 1198 | }, | ||
| 1199 | {#State 140 | ||
| 1200 | DEFAULT => -117 | ||
| 1201 | }, | ||
| 1202 | {#State 141 | ||
| 1203 | DEFAULT => -112 | ||
| 1204 | }, | ||
| 1205 | {#State 142 | ||
| 1206 | ACTIONS => { | ||
| 1207 | 'IDENTIFIER' => 226, | ||
| 1208 | 'error' => 227 | ||
| 1209 | } | ||
| 1210 | }, | ||
| 1211 | {#State 143 | ||
| 1212 | DEFAULT => -120 | ||
| 1213 | }, | ||
| 1214 | {#State 144 | ||
| 1215 | DEFAULT => -343 | ||
| 1216 | }, | ||
| 1217 | {#State 145 | ||
| 1218 | DEFAULT => -116 | ||
| 1219 | }, | ||
| 1220 | {#State 146 | ||
| 1221 | DEFAULT => -263 | ||
| 1222 | }, | ||
| 1223 | {#State 147 | ||
| 1224 | ACTIONS => { | ||
| 1225 | ";" => 228, | ||
| 1226 | "," => 229 | ||
| 1227 | }, | ||
| 1228 | DEFAULT => -259 | ||
| 1229 | }, | ||
| 1230 | {#State 148 | ||
| 1231 | ACTIONS => { | ||
| 1232 | "}" => 230 | ||
| 1233 | } | ||
| 1234 | }, | ||
| 1235 | {#State 149 | ||
| 1236 | ACTIONS => { | ||
| 1237 | "}" => 231 | ||
| 1238 | } | ||
| 1239 | }, | ||
| 1240 | {#State 150 | ||
| 1241 | ACTIONS => { | ||
| 1242 | "::" => 69, | ||
| 1243 | 'ENUM' => 30, | ||
| 1244 | 'IDENTIFIER' => 56, | ||
| 1245 | 'SHORT' => 86, | ||
| 1246 | 'CHAR' => 70, | ||
| 1247 | 'BOOLEAN' => 88, | ||
| 1248 | 'UNSIGNED' => 49, | ||
| 1249 | 'error' => 237, | ||
| 1250 | 'LONG' => 232 | ||
| 1251 | }, | ||
| 1252 | GOTOS => { | ||
| 1253 | 'signed_longlong_int' => 52, | ||
| 1254 | 'enum_type' => 233, | ||
| 1255 | 'integer_type' => 236, | ||
| 1256 | 'unsigned_long_int' => 57, | ||
| 1257 | 'unsigned_int' => 75, | ||
| 1258 | 'scoped_name' => 234, | ||
| 1259 | 'enum_header' => 5, | ||
| 1260 | 'signed_int' => 89, | ||
| 1261 | 'unsigned_short_int' => 46, | ||
| 1262 | 'unsigned_longlong_int' => 78, | ||
| 1263 | 'char_type' => 235, | ||
| 1264 | 'signed_long_int' => 62, | ||
| 1265 | 'signed_short_int' => 63, | ||
| 1266 | 'boolean_type' => 239, | ||
| 1267 | 'switch_type_spec' => 238 | ||
| 1268 | } | ||
| 1269 | }, | ||
| 1270 | {#State 151 | ||
| 1271 | DEFAULT => -235 | ||
| 1272 | }, | ||
| 1273 | {#State 152 | ||
| 1274 | ACTIONS => { | ||
| 1275 | 'LONG' => 240 | ||
| 1276 | }, | ||
| 1277 | DEFAULT => -216 | ||
| 1278 | }, | ||
| 1279 | {#State 153 | ||
| 1280 | DEFAULT => -215 | ||
| 1281 | }, | ||
| 1282 | {#State 154 | ||
| 1283 | DEFAULT => -211 | ||
| 1284 | }, | ||
| 1285 | {#State 155 | ||
| 1286 | DEFAULT => -203 | ||
| 1287 | }, | ||
| 1288 | {#State 156 | ||
| 1289 | ACTIONS => { | ||
| 1290 | 'IDENTIFIER' => 241, | ||
| 1291 | 'error' => 242 | ||
| 1292 | } | ||
| 1293 | }, | ||
| 1294 | {#State 157 | ||
| 1295 | DEFAULT => -50 | ||
| 1296 | }, | ||
| 1297 | {#State 158 | ||
| 1298 | DEFAULT => -51 | ||
| 1299 | }, | ||
| 1300 | {#State 159 | ||
| 1301 | ACTIONS => { | ||
| 1302 | "-" => 243, | ||
| 1303 | "::" => 69, | ||
| 1304 | 'TRUE' => 256, | ||
| 1305 | "+" => 257, | ||
| 1306 | "~" => 244, | ||
| 1307 | 'INTEGER_LITERAL' => 258, | ||
| 1308 | 'FLOATING_PT_LITERAL' => 260, | ||
| 1309 | 'FALSE' => 246, | ||
| 1310 | 'error' => 261, | ||
| 1311 | 'WIDE_STRING_LITERAL' => 262, | ||
| 1312 | 'CHARACTER_LITERAL' => 263, | ||
| 1313 | 'IDENTIFIER' => 56, | ||
| 1314 | "(" => 253, | ||
| 1315 | 'FIXED_PT_LITERAL' => 267, | ||
| 1316 | 'STRING_LITERAL' => 270, | ||
| 1317 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 1318 | }, | ||
| 1319 | GOTOS => { | ||
| 1320 | 'shift_expr' => 259, | ||
| 1321 | 'literal' => 245, | ||
| 1322 | 'const_exp' => 247, | ||
| 1323 | 'unary_operator' => 248, | ||
| 1324 | 'string_literal' => 249, | ||
| 1325 | 'and_expr' => 250, | ||
| 1326 | 'or_expr' => 251, | ||
| 1327 | 'mult_expr' => 264, | ||
| 1328 | 'scoped_name' => 252, | ||
| 1329 | 'boolean_literal' => 265, | ||
| 1330 | 'add_expr' => 266, | ||
| 1331 | 'positive_int_const' => 268, | ||
| 1332 | 'unary_expr' => 254, | ||
| 1333 | 'primary_expr' => 269, | ||
| 1334 | 'wide_string_literal' => 271, | ||
| 1335 | 'xor_expr' => 272 | ||
| 1336 | } | ||
| 1337 | }, | ||
| 1338 | {#State 160 | ||
| 1339 | ACTIONS => { | ||
| 1340 | "-" => 243, | ||
| 1341 | "::" => 69, | ||
| 1342 | 'TRUE' => 256, | ||
| 1343 | "+" => 257, | ||
| 1344 | "~" => 244, | ||
| 1345 | 'INTEGER_LITERAL' => 258, | ||
| 1346 | 'FLOATING_PT_LITERAL' => 260, | ||
| 1347 | 'FALSE' => 246, | ||
| 1348 | 'error' => 273, | ||
| 1349 | 'WIDE_STRING_LITERAL' => 262, | ||
| 1350 | 'CHARACTER_LITERAL' => 263, | ||
| 1351 | 'IDENTIFIER' => 56, | ||
| 1352 | "(" => 253, | ||
| 1353 | 'FIXED_PT_LITERAL' => 267, | ||
| 1354 | 'STRING_LITERAL' => 270, | ||
| 1355 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 1356 | }, | ||
| 1357 | GOTOS => { | ||
| 1358 | 'shift_expr' => 259, | ||
| 1359 | 'literal' => 245, | ||
| 1360 | 'const_exp' => 247, | ||
| 1361 | 'unary_operator' => 248, | ||
| 1362 | 'string_literal' => 249, | ||
| 1363 | 'and_expr' => 250, | ||
| 1364 | 'or_expr' => 251, | ||
| 1365 | 'mult_expr' => 264, | ||
| 1366 | 'scoped_name' => 252, | ||
| 1367 | 'boolean_literal' => 265, | ||
| 1368 | 'add_expr' => 266, | ||
| 1369 | 'positive_int_const' => 274, | ||
| 1370 | 'unary_expr' => 254, | ||
| 1371 | 'primary_expr' => 269, | ||
| 1372 | 'wide_string_literal' => 271, | ||
| 1373 | 'xor_expr' => 272 | ||
| 1374 | } | ||
| 1375 | }, | ||
| 1376 | {#State 161 | ||
| 1377 | ACTIONS => { | ||
| 1378 | "::" => 69, | ||
| 1379 | 'CHAR' => 70, | ||
| 1380 | 'OBJECT' => 74, | ||
| 1381 | 'STRING' => 77, | ||
| 1382 | 'OCTET' => 47, | ||
| 1383 | 'WSTRING' => 79, | ||
| 1384 | 'UNSIGNED' => 49, | ||
| 1385 | 'error' => 275, | ||
| 1386 | 'ANY' => 50, | ||
| 1387 | 'FLOAT' => 82, | ||
| 1388 | 'LONG' => 51, | ||
| 1389 | 'SEQUENCE' => 84, | ||
| 1390 | 'IDENTIFIER' => 56, | ||
| 1391 | 'DOUBLE' => 85, | ||
| 1392 | 'SHORT' => 86, | ||
| 1393 | 'BOOLEAN' => 88, | ||
| 1394 | 'VOID' => 61, | ||
| 1395 | 'FIXED' => 91, | ||
| 1396 | 'VALUEBASE' => 93, | ||
| 1397 | 'WCHAR' => 66 | ||
| 1398 | }, | ||
| 1399 | GOTOS => { | ||
| 1400 | 'wide_string_type' => 68, | ||
| 1401 | 'object_type' => 71, | ||
| 1402 | 'integer_type' => 73, | ||
| 1403 | 'sequence_type' => 76, | ||
| 1404 | 'unsigned_int' => 75, | ||
| 1405 | 'unsigned_short_int' => 46, | ||
| 1406 | 'unsigned_longlong_int' => 78, | ||
| 1407 | 'floating_pt_type' => 81, | ||
| 1408 | 'value_base_type' => 83, | ||
| 1409 | 'signed_longlong_int' => 52, | ||
| 1410 | 'any_type' => 54, | ||
| 1411 | 'template_type_spec' => 55, | ||
| 1412 | 'base_type_spec' => 87, | ||
| 1413 | 'unsigned_long_int' => 57, | ||
| 1414 | 'scoped_name' => 58, | ||
| 1415 | 'signed_int' => 89, | ||
| 1416 | 'string_type' => 59, | ||
| 1417 | 'simple_type_spec' => 276, | ||
| 1418 | 'char_type' => 60, | ||
| 1419 | 'signed_short_int' => 63, | ||
| 1420 | 'signed_long_int' => 62, | ||
| 1421 | 'fixed_pt_type' => 64, | ||
| 1422 | 'boolean_type' => 92, | ||
| 1423 | 'wide_char_type' => 65, | ||
| 1424 | 'octet_type' => 67 | ||
| 1425 | } | ||
| 1426 | }, | ||
| 1427 | {#State 162 | ||
| 1428 | DEFAULT => -268 | ||
| 1429 | }, | ||
| 1430 | {#State 163 | ||
| 1431 | ACTIONS => { | ||
| 1432 | "-" => 243, | ||
| 1433 | "::" => 69, | ||
| 1434 | 'TRUE' => 256, | ||
| 1435 | "+" => 257, | ||
| 1436 | "~" => 244, | ||
| 1437 | 'INTEGER_LITERAL' => 258, | ||
| 1438 | 'FLOATING_PT_LITERAL' => 260, | ||
| 1439 | 'FALSE' => 246, | ||
| 1440 | 'error' => 277, | ||
| 1441 | 'WIDE_STRING_LITERAL' => 262, | ||
| 1442 | 'CHARACTER_LITERAL' => 263, | ||
| 1443 | 'IDENTIFIER' => 56, | ||
| 1444 | "(" => 253, | ||
| 1445 | 'FIXED_PT_LITERAL' => 267, | ||
| 1446 | 'STRING_LITERAL' => 270, | ||
| 1447 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 1448 | }, | ||
| 1449 | GOTOS => { | ||
| 1450 | 'shift_expr' => 259, | ||
| 1451 | 'literal' => 245, | ||
| 1452 | 'const_exp' => 247, | ||
| 1453 | 'unary_operator' => 248, | ||
| 1454 | 'string_literal' => 249, | ||
| 1455 | 'and_expr' => 250, | ||
| 1456 | 'or_expr' => 251, | ||
| 1457 | 'mult_expr' => 264, | ||
| 1458 | 'scoped_name' => 252, | ||
| 1459 | 'boolean_literal' => 265, | ||
| 1460 | 'add_expr' => 266, | ||
| 1461 | 'positive_int_const' => 278, | ||
| 1462 | 'unary_expr' => 254, | ||
| 1463 | 'primary_expr' => 269, | ||
| 1464 | 'wide_string_literal' => 271, | ||
| 1465 | 'xor_expr' => 272 | ||
| 1466 | } | ||
| 1467 | }, | ||
| 1468 | {#State 164 | ||
| 1469 | DEFAULT => -342 | ||
| 1470 | }, | ||
| 1471 | {#State 165 | ||
| 1472 | DEFAULT => -199 | ||
| 1473 | }, | ||
| 1474 | {#State 166 | ||
| 1475 | DEFAULT => -198 | ||
| 1476 | }, | ||
| 1477 | {#State 167 | ||
| 1478 | DEFAULT => -68 | ||
| 1479 | }, | ||
| 1480 | {#State 168 | ||
| 1481 | ACTIONS => { | ||
| 1482 | 'ATTRIBUTE' => 279 | ||
| 1483 | } | ||
| 1484 | }, | ||
| 1485 | {#State 169 | ||
| 1486 | ACTIONS => { | ||
| 1487 | ";" => 95, | ||
| 1488 | 'error' => 96 | ||
| 1489 | }, | ||
| 1490 | GOTOS => { | ||
| 1491 | 'check_semicolon' => 280 | ||
| 1492 | } | ||
| 1493 | }, | ||
| 1494 | {#State 170 | ||
| 1495 | DEFAULT => -88 | ||
| 1496 | }, | ||
| 1497 | {#State 171 | ||
| 1498 | ACTIONS => { | ||
| 1499 | ";" => 95, | ||
| 1500 | 'error' => 96 | ||
| 1501 | }, | ||
| 1502 | GOTOS => { | ||
| 1503 | 'check_semicolon' => 281 | ||
| 1504 | } | ||
| 1505 | }, | ||
| 1506 | {#State 172 | ||
| 1507 | DEFAULT => -296 | ||
| 1508 | }, | ||
| 1509 | {#State 173 | ||
| 1510 | ACTIONS => { | ||
| 1511 | "::" => 69, | ||
| 1512 | 'CHAR' => 70, | ||
| 1513 | 'OBJECT' => 74, | ||
| 1514 | 'STRING' => 77, | ||
| 1515 | 'OCTET' => 47, | ||
| 1516 | 'WSTRING' => 79, | ||
| 1517 | 'UNSIGNED' => 49, | ||
| 1518 | 'ANY' => 50, | ||
| 1519 | 'FLOAT' => 82, | ||
| 1520 | 'LONG' => 51, | ||
| 1521 | 'SEQUENCE' => 84, | ||
| 1522 | 'IDENTIFIER' => 56, | ||
| 1523 | 'DOUBLE' => 85, | ||
| 1524 | 'SHORT' => 86, | ||
| 1525 | 'BOOLEAN' => 88, | ||
| 1526 | 'VOID' => 284, | ||
| 1527 | 'FIXED' => 91, | ||
| 1528 | 'VALUEBASE' => 93, | ||
| 1529 | 'WCHAR' => 66 | ||
| 1530 | }, | ||
| 1531 | GOTOS => { | ||
| 1532 | 'wide_string_type' => 286, | ||
| 1533 | 'object_type' => 71, | ||
| 1534 | 'integer_type' => 73, | ||
| 1535 | 'unsigned_int' => 75, | ||
| 1536 | 'sequence_type' => 287, | ||
| 1537 | 'op_param_type_spec' => 288, | ||
| 1538 | 'unsigned_short_int' => 46, | ||
| 1539 | 'unsigned_longlong_int' => 78, | ||
| 1540 | 'floating_pt_type' => 81, | ||
| 1541 | 'value_base_type' => 83, | ||
| 1542 | 'signed_longlong_int' => 52, | ||
| 1543 | 'any_type' => 54, | ||
| 1544 | 'base_type_spec' => 289, | ||
| 1545 | 'unsigned_long_int' => 57, | ||
| 1546 | 'scoped_name' => 282, | ||
| 1547 | 'signed_int' => 89, | ||
| 1548 | 'string_type' => 283, | ||
| 1549 | 'char_type' => 60, | ||
| 1550 | 'signed_long_int' => 62, | ||
| 1551 | 'fixed_pt_type' => 285, | ||
| 1552 | 'signed_short_int' => 63, | ||
| 1553 | 'op_type_spec' => 290, | ||
| 1554 | 'boolean_type' => 92, | ||
| 1555 | 'wide_char_type' => 65, | ||
| 1556 | 'octet_type' => 67 | ||
| 1557 | } | ||
| 1558 | }, | ||
| 1559 | {#State 174 | ||
| 1560 | ACTIONS => { | ||
| 1561 | "}" => -71, | ||
| 1562 | 'NATIVE' => 10, | ||
| 1563 | 'TYPEDEF' => 13, | ||
| 1564 | 'EXCEPTION' => 15, | ||
| 1565 | 'STRUCT' => 24, | ||
| 1566 | 'ENUM' => 30, | ||
| 1567 | 'FACTORY' => 177, | ||
| 1568 | 'PRIVATE' => 179, | ||
| 1569 | 'ONEWAY' => 182, | ||
| 1570 | 'UNION' => 34, | ||
| 1571 | 'ATTRIBUTE' => -283, | ||
| 1572 | 'PUBLIC' => 187, | ||
| 1573 | 'CONST' => 39, | ||
| 1574 | 'READONLY' => 188 | ||
| 1575 | }, | ||
| 1576 | DEFAULT => -297, | ||
| 1577 | GOTOS => { | ||
| 1578 | 'op_header' => 176, | ||
| 1579 | 'union_type' => 1, | ||
| 1580 | 'attr_mod' => 168, | ||
| 1581 | 'init_header_param' => 178, | ||
| 1582 | 'init_header' => 180, | ||
| 1583 | 'enum_header' => 5, | ||
| 1584 | 'op_dcl' => 181, | ||
| 1585 | 'attr_dcl' => 183, | ||
| 1586 | 'struct_type' => 6, | ||
| 1587 | 'union_header' => 7, | ||
| 1588 | 'except_dcl' => 169, | ||
| 1589 | 'struct_header' => 12, | ||
| 1590 | 'state_member' => 185, | ||
| 1591 | 'type_dcl' => 171, | ||
| 1592 | 'export' => 170, | ||
| 1593 | 'state_mod' => 186, | ||
| 1594 | 'enum_type' => 21, | ||
| 1595 | 'op_attribute' => 172, | ||
| 1596 | 'op_mod' => 173, | ||
| 1597 | 'value_elements' => 291, | ||
| 1598 | 'value_element' => 174, | ||
| 1599 | 'exception_header' => 27, | ||
| 1600 | 'const_dcl' => 175, | ||
| 1601 | 'init_dcl' => 190 | ||
| 1602 | } | ||
| 1603 | }, | ||
| 1604 | {#State 175 | ||
| 1605 | ACTIONS => { | ||
| 1606 | ";" => 95, | ||
| 1607 | 'error' => 96 | ||
| 1608 | }, | ||
| 1609 | GOTOS => { | ||
| 1610 | 'check_semicolon' => 292 | ||
| 1611 | } | ||
| 1612 | }, | ||
| 1613 | {#State 176 | ||
| 1614 | ACTIONS => { | ||
| 1615 | "(" => 293, | ||
| 1616 | 'error' => 294 | ||
| 1617 | }, | ||
| 1618 | GOTOS => { | ||
| 1619 | 'parameter_dcls' => 295 | ||
| 1620 | } | ||
| 1621 | }, | ||
| 1622 | {#State 177 | ||
| 1623 | ACTIONS => { | ||
| 1624 | 'IDENTIFIER' => 296, | ||
| 1625 | 'error' => 297 | ||
| 1626 | } | ||
| 1627 | }, | ||
| 1628 | {#State 178 | ||
| 1629 | ACTIONS => { | ||
| 1630 | ";" => 95, | ||
| 1631 | 'error' => 96 | ||
| 1632 | }, | ||
| 1633 | GOTOS => { | ||
| 1634 | 'check_semicolon' => 298 | ||
| 1635 | } | ||
| 1636 | }, | ||
| 1637 | {#State 179 | ||
| 1638 | DEFAULT => -95 | ||
| 1639 | }, | ||
| 1640 | {#State 180 | ||
| 1641 | ACTIONS => { | ||
| 1642 | "(" => 299, | ||
| 1643 | 'error' => 300 | ||
| 1644 | } | ||
| 1645 | }, | ||
| 1646 | {#State 181 | ||
| 1647 | ACTIONS => { | ||
| 1648 | ";" => 95, | ||
| 1649 | 'error' => 96 | ||
| 1650 | }, | ||
| 1651 | GOTOS => { | ||
| 1652 | 'check_semicolon' => 301 | ||
| 1653 | } | ||
| 1654 | }, | ||
| 1655 | {#State 182 | ||
| 1656 | DEFAULT => -298 | ||
| 1657 | }, | ||
| 1658 | {#State 183 | ||
| 1659 | ACTIONS => { | ||
| 1660 | ";" => 95, | ||
| 1661 | 'error' => 96 | ||
| 1662 | }, | ||
| 1663 | GOTOS => { | ||
| 1664 | 'check_semicolon' => 302 | ||
| 1665 | } | ||
| 1666 | }, | ||
| 1667 | {#State 184 | ||
| 1668 | ACTIONS => { | ||
| 1669 | "}" => 303 | ||
| 1670 | } | ||
| 1671 | }, | ||
| 1672 | {#State 185 | ||
| 1673 | DEFAULT => -89 | ||
| 1674 | }, | ||
| 1675 | {#State 186 | ||
| 1676 | ACTIONS => { | ||
| 1677 | "::" => 69, | ||
| 1678 | 'ENUM' => 30, | ||
| 1679 | 'CHAR' => 70, | ||
| 1680 | 'OBJECT' => 74, | ||
| 1681 | 'STRING' => 77, | ||
| 1682 | 'OCTET' => 47, | ||
| 1683 | 'WSTRING' => 79, | ||
| 1684 | 'UNION' => 34, | ||
| 1685 | 'UNSIGNED' => 49, | ||
| 1686 | 'error' => 305, | ||
| 1687 | 'ANY' => 50, | ||
| 1688 | 'FLOAT' => 82, | ||
| 1689 | 'LONG' => 51, | ||
| 1690 | 'SEQUENCE' => 84, | ||
| 1691 | 'IDENTIFIER' => 56, | ||
| 1692 | 'DOUBLE' => 85, | ||
| 1693 | 'SHORT' => 86, | ||
| 1694 | 'BOOLEAN' => 88, | ||
| 1695 | 'STRUCT' => 24, | ||
| 1696 | 'VOID' => 61, | ||
| 1697 | 'FIXED' => 91, | ||
| 1698 | 'VALUEBASE' => 93, | ||
| 1699 | 'WCHAR' => 66 | ||
| 1700 | }, | ||
| 1701 | GOTOS => { | ||
| 1702 | 'union_type' => 45, | ||
| 1703 | 'enum_header' => 5, | ||
| 1704 | 'unsigned_short_int' => 46, | ||
| 1705 | 'struct_type' => 48, | ||
| 1706 | 'union_header' => 7, | ||
| 1707 | 'struct_header' => 12, | ||
| 1708 | 'signed_longlong_int' => 52, | ||
| 1709 | 'enum_type' => 53, | ||
| 1710 | 'any_type' => 54, | ||
| 1711 | 'template_type_spec' => 55, | ||
| 1712 | 'unsigned_long_int' => 57, | ||
| 1713 | 'scoped_name' => 58, | ||
| 1714 | 'string_type' => 59, | ||
| 1715 | 'char_type' => 60, | ||
| 1716 | 'fixed_pt_type' => 64, | ||
| 1717 | 'signed_long_int' => 62, | ||
| 1718 | 'signed_short_int' => 63, | ||
| 1719 | 'wide_char_type' => 65, | ||
| 1720 | 'octet_type' => 67, | ||
| 1721 | 'wide_string_type' => 68, | ||
| 1722 | 'object_type' => 71, | ||
| 1723 | 'type_spec' => 304, | ||
| 1724 | 'integer_type' => 73, | ||
| 1725 | 'unsigned_int' => 75, | ||
| 1726 | 'sequence_type' => 76, | ||
| 1727 | 'unsigned_longlong_int' => 78, | ||
| 1728 | 'constr_type_spec' => 80, | ||
| 1729 | 'floating_pt_type' => 81, | ||
| 1730 | 'value_base_type' => 83, | ||
| 1731 | 'base_type_spec' => 87, | ||
| 1732 | 'signed_int' => 89, | ||
| 1733 | 'simple_type_spec' => 90, | ||
| 1734 | 'boolean_type' => 92 | ||
| 1735 | } | ||
| 1736 | }, | ||
| 1737 | {#State 187 | ||
| 1738 | DEFAULT => -94 | ||
| 1739 | }, | ||
| 1740 | {#State 188 | ||
| 1741 | DEFAULT => -282 | ||
| 1742 | }, | ||
| 1743 | {#State 189 | ||
| 1744 | ACTIONS => { | ||
| 1745 | "}" => 306 | ||
| 1746 | } | ||
| 1747 | }, | ||
| 1748 | {#State 190 | ||
| 1749 | DEFAULT => -90 | ||
| 1750 | }, | ||
| 1751 | {#State 191 | ||
| 1752 | ACTIONS => { | ||
| 1753 | "}" => 307 | ||
| 1754 | } | ||
| 1755 | }, | ||
| 1756 | {#State 192 | ||
| 1757 | ACTIONS => { | ||
| 1758 | "::" => 69, | ||
| 1759 | 'ENUM' => 30, | ||
| 1760 | 'CHAR' => 70, | ||
| 1761 | 'OBJECT' => 74, | ||
| 1762 | 'STRING' => 77, | ||
| 1763 | 'OCTET' => 47, | ||
| 1764 | 'WSTRING' => 79, | ||
| 1765 | 'UNION' => 34, | ||
| 1766 | 'UNSIGNED' => 49, | ||
| 1767 | 'ANY' => 50, | ||
| 1768 | 'FLOAT' => 82, | ||
| 1769 | 'LONG' => 51, | ||
| 1770 | 'SEQUENCE' => 84, | ||
| 1771 | 'DOUBLE' => 85, | ||
| 1772 | 'IDENTIFIER' => 56, | ||
| 1773 | 'SHORT' => 86, | ||
| 1774 | 'BOOLEAN' => 88, | ||
| 1775 | 'STRUCT' => 24, | ||
| 1776 | 'VOID' => 61, | ||
| 1777 | 'FIXED' => 91, | ||
| 1778 | 'VALUEBASE' => 93, | ||
| 1779 | 'WCHAR' => 66 | ||
| 1780 | }, | ||
| 1781 | DEFAULT => -228, | ||
| 1782 | GOTOS => { | ||
| 1783 | 'union_type' => 45, | ||
| 1784 | 'enum_header' => 5, | ||
| 1785 | 'unsigned_short_int' => 46, | ||
| 1786 | 'struct_type' => 48, | ||
| 1787 | 'union_header' => 7, | ||
| 1788 | 'struct_header' => 12, | ||
| 1789 | 'member_list' => 308, | ||
| 1790 | 'signed_longlong_int' => 52, | ||
| 1791 | 'enum_type' => 53, | ||
| 1792 | 'any_type' => 54, | ||
| 1793 | 'template_type_spec' => 55, | ||
| 1794 | 'member' => 192, | ||
| 1795 | 'unsigned_long_int' => 57, | ||
| 1796 | 'scoped_name' => 58, | ||
| 1797 | 'string_type' => 59, | ||
| 1798 | 'char_type' => 60, | ||
| 1799 | 'fixed_pt_type' => 64, | ||
| 1800 | 'signed_short_int' => 63, | ||
| 1801 | 'signed_long_int' => 62, | ||
| 1802 | 'wide_char_type' => 65, | ||
| 1803 | 'octet_type' => 67, | ||
| 1804 | 'wide_string_type' => 68, | ||
| 1805 | 'object_type' => 71, | ||
| 1806 | 'type_spec' => 193, | ||
| 1807 | 'integer_type' => 73, | ||
| 1808 | 'unsigned_int' => 75, | ||
| 1809 | 'sequence_type' => 76, | ||
| 1810 | 'unsigned_longlong_int' => 78, | ||
| 1811 | 'constr_type_spec' => 80, | ||
| 1812 | 'floating_pt_type' => 81, | ||
| 1813 | 'value_base_type' => 83, | ||
| 1814 | 'base_type_spec' => 87, | ||
| 1815 | 'signed_int' => 89, | ||
| 1816 | 'simple_type_spec' => 90, | ||
| 1817 | 'boolean_type' => 92 | ||
| 1818 | } | ||
| 1819 | }, | ||
| 1820 | {#State 193 | ||
| 1821 | ACTIONS => { | ||
| 1822 | 'IDENTIFIER' => 196, | ||
| 1823 | 'error' => 99 | ||
| 1824 | }, | ||
| 1825 | GOTOS => { | ||
| 1826 | 'declarators' => 309, | ||
| 1827 | 'array_declarator' => 199, | ||
| 1828 | 'simple_declarator' => 195, | ||
| 1829 | 'declarator' => 197, | ||
| 1830 | 'complex_declarator' => 200 | ||
| 1831 | } | ||
| 1832 | }, | ||
| 1833 | {#State 194 | ||
| 1834 | ACTIONS => { | ||
| 1835 | "}" => 310 | ||
| 1836 | } | ||
| 1837 | }, | ||
| 1838 | {#State 195 | ||
| 1839 | DEFAULT => -195 | ||
| 1840 | }, | ||
| 1841 | {#State 196 | ||
| 1842 | ACTIONS => { | ||
| 1843 | "[" => 312 | ||
| 1844 | }, | ||
| 1845 | DEFAULT => -197, | ||
| 1846 | GOTOS => { | ||
| 1847 | 'fixed_array_sizes' => 311, | ||
| 1848 | 'fixed_array_size' => 313 | ||
| 1849 | } | ||
| 1850 | }, | ||
| 1851 | {#State 197 | ||
| 1852 | ACTIONS => { | ||
| 1853 | "," => 314 | ||
| 1854 | }, | ||
| 1855 | DEFAULT => -193 | ||
| 1856 | }, | ||
| 1857 | {#State 198 | ||
| 1858 | DEFAULT => -170 | ||
| 1859 | }, | ||
| 1860 | {#State 199 | ||
| 1861 | DEFAULT => -200 | ||
| 1862 | }, | ||
| 1863 | {#State 200 | ||
| 1864 | DEFAULT => -196 | ||
| 1865 | }, | ||
| 1866 | {#State 201 | ||
| 1867 | ACTIONS => { | ||
| 1868 | ":" => 315, | ||
| 1869 | "{" => -45 | ||
| 1870 | }, | ||
| 1871 | DEFAULT => -26, | ||
| 1872 | GOTOS => { | ||
| 1873 | 'interface_inheritance_spec' => 316 | ||
| 1874 | } | ||
| 1875 | }, | ||
| 1876 | {#State 202 | ||
| 1877 | ACTIONS => { | ||
| 1878 | "{" => -31 | ||
| 1879 | }, | ||
| 1880 | DEFAULT => -27 | ||
| 1881 | }, | ||
| 1882 | {#State 203 | ||
| 1883 | DEFAULT => -23 | ||
| 1884 | }, | ||
| 1885 | {#State 204 | ||
| 1886 | DEFAULT => -35 | ||
| 1887 | }, | ||
| 1888 | {#State 205 | ||
| 1889 | ACTIONS => { | ||
| 1890 | "}" => -33, | ||
| 1891 | 'NATIVE' => 10, | ||
| 1892 | 'TYPEDEF' => 13, | ||
| 1893 | 'EXCEPTION' => 15, | ||
| 1894 | 'STRUCT' => 24, | ||
| 1895 | 'ENUM' => 30, | ||
| 1896 | 'FACTORY' => 177, | ||
| 1897 | 'PRIVATE' => 179, | ||
| 1898 | 'ONEWAY' => 182, | ||
| 1899 | 'UNION' => 34, | ||
| 1900 | 'ATTRIBUTE' => -283, | ||
| 1901 | 'PUBLIC' => 187, | ||
| 1902 | 'CONST' => 39, | ||
| 1903 | 'READONLY' => 188 | ||
| 1904 | }, | ||
| 1905 | DEFAULT => -297, | ||
| 1906 | GOTOS => { | ||
| 1907 | 'op_header' => 176, | ||
| 1908 | 'union_type' => 1, | ||
| 1909 | 'attr_mod' => 168, | ||
| 1910 | 'init_header_param' => 178, | ||
| 1911 | 'init_header' => 180, | ||
| 1912 | 'enum_header' => 5, | ||
| 1913 | 'op_dcl' => 181, | ||
| 1914 | 'exports' => 317, | ||
| 1915 | 'attr_dcl' => 183, | ||
| 1916 | 'struct_type' => 6, | ||
| 1917 | 'union_header' => 7, | ||
| 1918 | 'except_dcl' => 169, | ||
| 1919 | 'struct_header' => 12, | ||
| 1920 | 'state_member' => 209, | ||
| 1921 | 'export' => 204, | ||
| 1922 | 'type_dcl' => 171, | ||
| 1923 | 'state_mod' => 186, | ||
| 1924 | 'enum_type' => 21, | ||
| 1925 | 'op_attribute' => 172, | ||
| 1926 | 'op_mod' => 173, | ||
| 1927 | '_export' => 205, | ||
| 1928 | 'exception_header' => 27, | ||
| 1929 | 'const_dcl' => 175, | ||
| 1930 | 'init_dcl' => 210 | ||
| 1931 | } | ||
| 1932 | }, | ||
| 1933 | {#State 206 | ||
| 1934 | ACTIONS => { | ||
| 1935 | "}" => 318 | ||
| 1936 | } | ||
| 1937 | }, | ||
| 1938 | {#State 207 | ||
| 1939 | DEFAULT => -32 | ||
| 1940 | }, | ||
| 1941 | {#State 208 | ||
| 1942 | ACTIONS => { | ||
| 1943 | "}" => 319 | ||
| 1944 | } | ||
| 1945 | }, | ||
| 1946 | {#State 209 | ||
| 1947 | DEFAULT => -36 | ||
| 1948 | }, | ||
| 1949 | {#State 210 | ||
| 1950 | DEFAULT => -37 | ||
| 1951 | }, | ||
| 1952 | {#State 211 | ||
| 1953 | ACTIONS => { | ||
| 1954 | ":" => 320, | ||
| 1955 | 'SUPPORTS' => 321, | ||
| 1956 | ";" => -58, | ||
| 1957 | 'error' => -58, | ||
| 1958 | "{" => -86 | ||
| 1959 | }, | ||
| 1960 | DEFAULT => -61, | ||
| 1961 | GOTOS => { | ||
| 1962 | 'supported_interface_spec' => 323, | ||
| 1963 | 'value_inheritance_spec' => 322 | ||
| 1964 | } | ||
| 1965 | }, | ||
| 1966 | {#State 212 | ||
| 1967 | DEFAULT => -74 | ||
| 1968 | }, | ||
| 1969 | {#State 213 | ||
| 1970 | DEFAULT => -12 | ||
| 1971 | }, | ||
| 1972 | {#State 214 | ||
| 1973 | DEFAULT => -62 | ||
| 1974 | }, | ||
| 1975 | {#State 215 | ||
| 1976 | ACTIONS => { | ||
| 1977 | "}" => 324 | ||
| 1978 | } | ||
| 1979 | }, | ||
| 1980 | {#State 216 | ||
| 1981 | ACTIONS => { | ||
| 1982 | "}" => 325 | ||
| 1983 | } | ||
| 1984 | }, | ||
| 1985 | {#State 217 | ||
| 1986 | ACTIONS => { | ||
| 1987 | ":" => 320, | ||
| 1988 | 'SUPPORTS' => 321, | ||
| 1989 | "{" => -86 | ||
| 1990 | }, | ||
| 1991 | DEFAULT => -59, | ||
| 1992 | GOTOS => { | ||
| 1993 | 'supported_interface_spec' => 323, | ||
| 1994 | 'value_inheritance_spec' => 326 | ||
| 1995 | } | ||
| 1996 | }, | ||
| 1997 | {#State 218 | ||
| 1998 | DEFAULT => -66 | ||
| 1999 | }, | ||
| 2000 | {#State 219 | ||
| 2001 | DEFAULT => -286 | ||
| 2002 | }, | ||
| 2003 | {#State 220 | ||
| 2004 | ACTIONS => { | ||
| 2005 | "}" => 327 | ||
| 2006 | } | ||
| 2007 | }, | ||
| 2008 | {#State 221 | ||
| 2009 | ACTIONS => { | ||
| 2010 | "}" => 328 | ||
| 2011 | } | ||
| 2012 | }, | ||
| 2013 | {#State 222 | ||
| 2014 | DEFAULT => -18 | ||
| 2015 | }, | ||
| 2016 | {#State 223 | ||
| 2017 | DEFAULT => -17 | ||
| 2018 | }, | ||
| 2019 | {#State 224 | ||
| 2020 | ACTIONS => { | ||
| 2021 | "}" => 329 | ||
| 2022 | } | ||
| 2023 | }, | ||
| 2024 | {#State 225 | ||
| 2025 | ACTIONS => { | ||
| 2026 | "}" => 330 | ||
| 2027 | } | ||
| 2028 | }, | ||
| 2029 | {#State 226 | ||
| 2030 | ACTIONS => { | ||
| 2031 | 'error' => 331, | ||
| 2032 | "=" => 332 | ||
| 2033 | } | ||
| 2034 | }, | ||
| 2035 | {#State 227 | ||
| 2036 | DEFAULT => -111 | ||
| 2037 | }, | ||
| 2038 | {#State 228 | ||
| 2039 | DEFAULT => -262 | ||
| 2040 | }, | ||
| 2041 | {#State 229 | ||
| 2042 | ACTIONS => { | ||
| 2043 | 'IDENTIFIER' => 146 | ||
| 2044 | }, | ||
| 2045 | DEFAULT => -261, | ||
| 2046 | GOTOS => { | ||
| 2047 | 'enumerators' => 333, | ||
| 2048 | 'enumerator' => 147 | ||
| 2049 | } | ||
| 2050 | }, | ||
| 2051 | {#State 230 | ||
| 2052 | DEFAULT => -255 | ||
| 2053 | }, | ||
| 2054 | {#State 231 | ||
| 2055 | DEFAULT => -254 | ||
| 2056 | }, | ||
| 2057 | {#State 232 | ||
| 2058 | ACTIONS => { | ||
| 2059 | 'LONG' => 154 | ||
| 2060 | }, | ||
| 2061 | DEFAULT => -210 | ||
| 2062 | }, | ||
| 2063 | {#State 233 | ||
| 2064 | DEFAULT => -241 | ||
| 2065 | }, | ||
| 2066 | {#State 234 | ||
| 2067 | ACTIONS => { | ||
| 2068 | "::" => 156 | ||
| 2069 | }, | ||
| 2070 | DEFAULT => -242 | ||
| 2071 | }, | ||
| 2072 | {#State 235 | ||
| 2073 | DEFAULT => -239 | ||
| 2074 | }, | ||
| 2075 | {#State 236 | ||
| 2076 | DEFAULT => -238 | ||
| 2077 | }, | ||
| 2078 | {#State 237 | ||
| 2079 | ACTIONS => { | ||
| 2080 | ")" => 334 | ||
| 2081 | } | ||
| 2082 | }, | ||
| 2083 | {#State 238 | ||
| 2084 | ACTIONS => { | ||
| 2085 | ")" => 335 | ||
| 2086 | } | ||
| 2087 | }, | ||
| 2088 | {#State 239 | ||
| 2089 | DEFAULT => -240 | ||
| 2090 | }, | ||
| 2091 | {#State 240 | ||
| 2092 | DEFAULT => -217 | ||
| 2093 | }, | ||
| 2094 | {#State 241 | ||
| 2095 | DEFAULT => -52 | ||
| 2096 | }, | ||
| 2097 | {#State 242 | ||
| 2098 | DEFAULT => -53 | ||
| 2099 | }, | ||
| 2100 | {#State 243 | ||
| 2101 | DEFAULT => -142 | ||
| 2102 | }, | ||
| 2103 | {#State 244 | ||
| 2104 | DEFAULT => -144 | ||
| 2105 | }, | ||
| 2106 | {#State 245 | ||
| 2107 | DEFAULT => -146 | ||
| 2108 | }, | ||
| 2109 | {#State 246 | ||
| 2110 | DEFAULT => -162 | ||
| 2111 | }, | ||
| 2112 | {#State 247 | ||
| 2113 | DEFAULT => -163 | ||
| 2114 | }, | ||
| 2115 | {#State 248 | ||
| 2116 | ACTIONS => { | ||
| 2117 | "::" => 69, | ||
| 2118 | 'TRUE' => 256, | ||
| 2119 | 'IDENTIFIER' => 56, | ||
| 2120 | 'INTEGER_LITERAL' => 258, | ||
| 2121 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2122 | 'FIXED_PT_LITERAL' => 267, | ||
| 2123 | "(" => 253, | ||
| 2124 | 'FALSE' => 246, | ||
| 2125 | 'STRING_LITERAL' => 270, | ||
| 2126 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2127 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2128 | 'CHARACTER_LITERAL' => 263 | ||
| 2129 | }, | ||
| 2130 | GOTOS => { | ||
| 2131 | 'literal' => 245, | ||
| 2132 | 'primary_expr' => 336, | ||
| 2133 | 'scoped_name' => 252, | ||
| 2134 | 'wide_string_literal' => 271, | ||
| 2135 | 'boolean_literal' => 265, | ||
| 2136 | 'string_literal' => 249 | ||
| 2137 | } | ||
| 2138 | }, | ||
| 2139 | {#State 249 | ||
| 2140 | DEFAULT => -150 | ||
| 2141 | }, | ||
| 2142 | {#State 250 | ||
| 2143 | ACTIONS => { | ||
| 2144 | "&" => 337 | ||
| 2145 | }, | ||
| 2146 | DEFAULT => -126 | ||
| 2147 | }, | ||
| 2148 | {#State 251 | ||
| 2149 | ACTIONS => { | ||
| 2150 | "|" => 338 | ||
| 2151 | }, | ||
| 2152 | DEFAULT => -123 | ||
| 2153 | }, | ||
| 2154 | {#State 252 | ||
| 2155 | ACTIONS => { | ||
| 2156 | "::" => 156 | ||
| 2157 | }, | ||
| 2158 | DEFAULT => -145 | ||
| 2159 | }, | ||
| 2160 | {#State 253 | ||
| 2161 | ACTIONS => { | ||
| 2162 | "-" => 243, | ||
| 2163 | "::" => 69, | ||
| 2164 | 'TRUE' => 256, | ||
| 2165 | "+" => 257, | ||
| 2166 | "~" => 244, | ||
| 2167 | 'INTEGER_LITERAL' => 258, | ||
| 2168 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2169 | 'FALSE' => 246, | ||
| 2170 | 'error' => 340, | ||
| 2171 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2172 | 'CHARACTER_LITERAL' => 263, | ||
| 2173 | 'IDENTIFIER' => 56, | ||
| 2174 | "(" => 253, | ||
| 2175 | 'FIXED_PT_LITERAL' => 267, | ||
| 2176 | 'STRING_LITERAL' => 270, | ||
| 2177 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 2178 | }, | ||
| 2179 | GOTOS => { | ||
| 2180 | 'and_expr' => 250, | ||
| 2181 | 'or_expr' => 251, | ||
| 2182 | 'mult_expr' => 264, | ||
| 2183 | 'shift_expr' => 259, | ||
| 2184 | 'scoped_name' => 252, | ||
| 2185 | 'boolean_literal' => 265, | ||
| 2186 | 'add_expr' => 266, | ||
| 2187 | 'literal' => 245, | ||
| 2188 | 'primary_expr' => 269, | ||
| 2189 | 'unary_expr' => 254, | ||
| 2190 | 'unary_operator' => 248, | ||
| 2191 | 'const_exp' => 339, | ||
| 2192 | 'xor_expr' => 272, | ||
| 2193 | 'wide_string_literal' => 271, | ||
| 2194 | 'string_literal' => 249 | ||
| 2195 | } | ||
| 2196 | }, | ||
| 2197 | {#State 254 | ||
| 2198 | DEFAULT => -136 | ||
| 2199 | }, | ||
| 2200 | {#State 255 | ||
| 2201 | DEFAULT => -153 | ||
| 2202 | }, | ||
| 2203 | {#State 256 | ||
| 2204 | DEFAULT => -161 | ||
| 2205 | }, | ||
| 2206 | {#State 257 | ||
| 2207 | DEFAULT => -143 | ||
| 2208 | }, | ||
| 2209 | {#State 258 | ||
| 2210 | DEFAULT => -149 | ||
| 2211 | }, | ||
| 2212 | {#State 259 | ||
| 2213 | ACTIONS => { | ||
| 2214 | "<<" => 342, | ||
| 2215 | ">>" => 341 | ||
| 2216 | }, | ||
| 2217 | DEFAULT => -128 | ||
| 2218 | }, | ||
| 2219 | {#State 260 | ||
| 2220 | DEFAULT => -155 | ||
| 2221 | }, | ||
| 2222 | {#State 261 | ||
| 2223 | ACTIONS => { | ||
| 2224 | ">" => 343 | ||
| 2225 | } | ||
| 2226 | }, | ||
| 2227 | {#State 262 | ||
| 2228 | ACTIONS => { | ||
| 2229 | 'WIDE_STRING_LITERAL' => 262 | ||
| 2230 | }, | ||
| 2231 | DEFAULT => -159, | ||
| 2232 | GOTOS => { | ||
| 2233 | 'wide_string_literal' => 344 | ||
| 2234 | } | ||
| 2235 | }, | ||
| 2236 | {#State 263 | ||
| 2237 | DEFAULT => -152 | ||
| 2238 | }, | ||
| 2239 | {#State 264 | ||
| 2240 | ACTIONS => { | ||
| 2241 | "%" => 345, | ||
| 2242 | "*" => 346, | ||
| 2243 | "/" => 347 | ||
| 2244 | }, | ||
| 2245 | DEFAULT => -133 | ||
| 2246 | }, | ||
| 2247 | {#State 265 | ||
| 2248 | DEFAULT => -156 | ||
| 2249 | }, | ||
| 2250 | {#State 266 | ||
| 2251 | ACTIONS => { | ||
| 2252 | "-" => 348, | ||
| 2253 | "+" => 349 | ||
| 2254 | }, | ||
| 2255 | DEFAULT => -130 | ||
| 2256 | }, | ||
| 2257 | {#State 267 | ||
| 2258 | DEFAULT => -154 | ||
| 2259 | }, | ||
| 2260 | {#State 268 | ||
| 2261 | ACTIONS => { | ||
| 2262 | ">" => 350 | ||
| 2263 | } | ||
| 2264 | }, | ||
| 2265 | {#State 269 | ||
| 2266 | DEFAULT => -141 | ||
| 2267 | }, | ||
| 2268 | {#State 270 | ||
| 2269 | ACTIONS => { | ||
| 2270 | 'STRING_LITERAL' => 270 | ||
| 2271 | }, | ||
| 2272 | DEFAULT => -157, | ||
| 2273 | GOTOS => { | ||
| 2274 | 'string_literal' => 351 | ||
| 2275 | } | ||
| 2276 | }, | ||
| 2277 | {#State 271 | ||
| 2278 | DEFAULT => -151 | ||
| 2279 | }, | ||
| 2280 | {#State 272 | ||
| 2281 | ACTIONS => { | ||
| 2282 | "^" => 352 | ||
| 2283 | }, | ||
| 2284 | DEFAULT => -124 | ||
| 2285 | }, | ||
| 2286 | {#State 273 | ||
| 2287 | ACTIONS => { | ||
| 2288 | ">" => 353 | ||
| 2289 | } | ||
| 2290 | }, | ||
| 2291 | {#State 274 | ||
| 2292 | ACTIONS => { | ||
| 2293 | ">" => 354 | ||
| 2294 | } | ||
| 2295 | }, | ||
| 2296 | {#State 275 | ||
| 2297 | ACTIONS => { | ||
| 2298 | ">" => 355 | ||
| 2299 | } | ||
| 2300 | }, | ||
| 2301 | {#State 276 | ||
| 2302 | ACTIONS => { | ||
| 2303 | "," => 357, | ||
| 2304 | ">" => 356 | ||
| 2305 | } | ||
| 2306 | }, | ||
| 2307 | {#State 277 | ||
| 2308 | ACTIONS => { | ||
| 2309 | ">" => 358 | ||
| 2310 | } | ||
| 2311 | }, | ||
| 2312 | {#State 278 | ||
| 2313 | ACTIONS => { | ||
| 2314 | "," => 359 | ||
| 2315 | } | ||
| 2316 | }, | ||
| 2317 | {#State 279 | ||
| 2318 | ACTIONS => { | ||
| 2319 | "::" => 69, | ||
| 2320 | 'ENUM' => 30, | ||
| 2321 | 'CHAR' => 70, | ||
| 2322 | 'OBJECT' => 74, | ||
| 2323 | 'STRING' => 77, | ||
| 2324 | 'OCTET' => 47, | ||
| 2325 | 'WSTRING' => 79, | ||
| 2326 | 'UNION' => 34, | ||
| 2327 | 'UNSIGNED' => 49, | ||
| 2328 | 'error' => 366, | ||
| 2329 | 'ANY' => 50, | ||
| 2330 | 'FLOAT' => 82, | ||
| 2331 | 'LONG' => 51, | ||
| 2332 | 'SEQUENCE' => 84, | ||
| 2333 | 'IDENTIFIER' => 56, | ||
| 2334 | 'DOUBLE' => 85, | ||
| 2335 | 'SHORT' => 86, | ||
| 2336 | 'BOOLEAN' => 88, | ||
| 2337 | 'STRUCT' => 24, | ||
| 2338 | 'VOID' => 360, | ||
| 2339 | 'FIXED' => 91, | ||
| 2340 | 'VALUEBASE' => 93, | ||
| 2341 | 'WCHAR' => 66 | ||
| 2342 | }, | ||
| 2343 | GOTOS => { | ||
| 2344 | 'union_type' => 45, | ||
| 2345 | 'enum_header' => 5, | ||
| 2346 | 'unsigned_short_int' => 46, | ||
| 2347 | 'struct_type' => 48, | ||
| 2348 | 'union_header' => 7, | ||
| 2349 | 'struct_header' => 12, | ||
| 2350 | 'signed_longlong_int' => 52, | ||
| 2351 | 'enum_type' => 53, | ||
| 2352 | 'any_type' => 54, | ||
| 2353 | 'unsigned_long_int' => 57, | ||
| 2354 | 'scoped_name' => 282, | ||
| 2355 | 'string_type' => 283, | ||
| 2356 | 'char_type' => 60, | ||
| 2357 | 'param_type_spec' => 362, | ||
| 2358 | 'fixed_pt_type' => 361, | ||
| 2359 | 'signed_long_int' => 62, | ||
| 2360 | 'signed_short_int' => 63, | ||
| 2361 | 'wide_char_type' => 65, | ||
| 2362 | 'octet_type' => 67, | ||
| 2363 | 'wide_string_type' => 286, | ||
| 2364 | 'object_type' => 71, | ||
| 2365 | 'integer_type' => 73, | ||
| 2366 | 'sequence_type' => 363, | ||
| 2367 | 'unsigned_int' => 75, | ||
| 2368 | 'op_param_type_spec' => 364, | ||
| 2369 | 'unsigned_longlong_int' => 78, | ||
| 2370 | 'constr_type_spec' => 365, | ||
| 2371 | 'floating_pt_type' => 81, | ||
| 2372 | 'value_base_type' => 83, | ||
| 2373 | 'base_type_spec' => 289, | ||
| 2374 | 'signed_int' => 89, | ||
| 2375 | 'boolean_type' => 92 | ||
| 2376 | } | ||
| 2377 | }, | ||
| 2378 | {#State 280 | ||
| 2379 | DEFAULT => -40 | ||
| 2380 | }, | ||
| 2381 | {#State 281 | ||
| 2382 | DEFAULT => -38 | ||
| 2383 | }, | ||
| 2384 | {#State 282 | ||
| 2385 | ACTIONS => { | ||
| 2386 | "::" => 156 | ||
| 2387 | }, | ||
| 2388 | DEFAULT => -338 | ||
| 2389 | }, | ||
| 2390 | {#State 283 | ||
| 2391 | DEFAULT => -336 | ||
| 2392 | }, | ||
| 2393 | {#State 284 | ||
| 2394 | DEFAULT => -300 | ||
| 2395 | }, | ||
| 2396 | {#State 285 | ||
| 2397 | DEFAULT => -302 | ||
| 2398 | }, | ||
| 2399 | {#State 286 | ||
| 2400 | DEFAULT => -337 | ||
| 2401 | }, | ||
| 2402 | {#State 287 | ||
| 2403 | DEFAULT => -301 | ||
| 2404 | }, | ||
| 2405 | {#State 288 | ||
| 2406 | DEFAULT => -299 | ||
| 2407 | }, | ||
| 2408 | {#State 289 | ||
| 2409 | DEFAULT => -335 | ||
| 2410 | }, | ||
| 2411 | {#State 290 | ||
| 2412 | ACTIONS => { | ||
| 2413 | 'IDENTIFIER' => 367, | ||
| 2414 | 'error' => 368 | ||
| 2415 | } | ||
| 2416 | }, | ||
| 2417 | {#State 291 | ||
| 2418 | DEFAULT => -72 | ||
| 2419 | }, | ||
| 2420 | {#State 292 | ||
| 2421 | DEFAULT => -39 | ||
| 2422 | }, | ||
| 2423 | {#State 293 | ||
| 2424 | ACTIONS => { | ||
| 2425 | 'ENUM' => -316, | ||
| 2426 | "::" => -316, | ||
| 2427 | 'CHAR' => -316, | ||
| 2428 | 'OBJECT' => -316, | ||
| 2429 | 'STRING' => -316, | ||
| 2430 | 'OCTET' => -316, | ||
| 2431 | 'WSTRING' => -316, | ||
| 2432 | 'UNION' => -316, | ||
| 2433 | 'UNSIGNED' => -316, | ||
| 2434 | 'error' => 374, | ||
| 2435 | 'ANY' => -316, | ||
| 2436 | 'FLOAT' => -316, | ||
| 2437 | ")" => 375, | ||
| 2438 | 'LONG' => -316, | ||
| 2439 | 'SEQUENCE' => -316, | ||
| 2440 | 'IDENTIFIER' => -316, | ||
| 2441 | 'DOUBLE' => -316, | ||
| 2442 | 'SHORT' => -316, | ||
| 2443 | 'BOOLEAN' => -316, | ||
| 2444 | 'INOUT' => 370, | ||
| 2445 | "..." => 376, | ||
| 2446 | 'STRUCT' => -316, | ||
| 2447 | 'OUT' => 371, | ||
| 2448 | 'IN' => 377, | ||
| 2449 | 'VOID' => -316, | ||
| 2450 | 'FIXED' => -316, | ||
| 2451 | 'VALUEBASE' => -316, | ||
| 2452 | 'WCHAR' => -316 | ||
| 2453 | }, | ||
| 2454 | GOTOS => { | ||
| 2455 | 'param_attribute' => 369, | ||
| 2456 | 'param_dcl' => 372, | ||
| 2457 | 'param_dcls' => 373 | ||
| 2458 | } | ||
| 2459 | }, | ||
| 2460 | {#State 294 | ||
| 2461 | DEFAULT => -293 | ||
| 2462 | }, | ||
| 2463 | {#State 295 | ||
| 2464 | ACTIONS => { | ||
| 2465 | 'RAISES' => 378 | ||
| 2466 | }, | ||
| 2467 | DEFAULT => -320, | ||
| 2468 | GOTOS => { | ||
| 2469 | 'raises_expr' => 379 | ||
| 2470 | } | ||
| 2471 | }, | ||
| 2472 | {#State 296 | ||
| 2473 | DEFAULT => -101 | ||
| 2474 | }, | ||
| 2475 | {#State 297 | ||
| 2476 | DEFAULT => -102 | ||
| 2477 | }, | ||
| 2478 | {#State 298 | ||
| 2479 | DEFAULT => -96 | ||
| 2480 | }, | ||
| 2481 | {#State 299 | ||
| 2482 | ACTIONS => { | ||
| 2483 | 'error' => 382, | ||
| 2484 | ")" => 383, | ||
| 2485 | 'IN' => 385 | ||
| 2486 | }, | ||
| 2487 | GOTOS => { | ||
| 2488 | 'init_param_decl' => 381, | ||
| 2489 | 'init_param_decls' => 384, | ||
| 2490 | 'init_param_attribute' => 380 | ||
| 2491 | } | ||
| 2492 | }, | ||
| 2493 | {#State 300 | ||
| 2494 | DEFAULT => -100 | ||
| 2495 | }, | ||
| 2496 | {#State 301 | ||
| 2497 | DEFAULT => -42 | ||
| 2498 | }, | ||
| 2499 | {#State 302 | ||
| 2500 | DEFAULT => -41 | ||
| 2501 | }, | ||
| 2502 | {#State 303 | ||
| 2503 | DEFAULT => -70 | ||
| 2504 | }, | ||
| 2505 | {#State 304 | ||
| 2506 | ACTIONS => { | ||
| 2507 | 'IDENTIFIER' => 196, | ||
| 2508 | 'error' => 386 | ||
| 2509 | }, | ||
| 2510 | GOTOS => { | ||
| 2511 | 'declarators' => 387, | ||
| 2512 | 'array_declarator' => 199, | ||
| 2513 | 'simple_declarator' => 195, | ||
| 2514 | 'declarator' => 197, | ||
| 2515 | 'complex_declarator' => 200 | ||
| 2516 | } | ||
| 2517 | }, | ||
| 2518 | {#State 305 | ||
| 2519 | ACTIONS => { | ||
| 2520 | ";" => 388 | ||
| 2521 | } | ||
| 2522 | }, | ||
| 2523 | {#State 306 | ||
| 2524 | DEFAULT => -69 | ||
| 2525 | }, | ||
| 2526 | {#State 307 | ||
| 2527 | DEFAULT => -224 | ||
| 2528 | }, | ||
| 2529 | {#State 308 | ||
| 2530 | DEFAULT => -229 | ||
| 2531 | }, | ||
| 2532 | {#State 309 | ||
| 2533 | ACTIONS => { | ||
| 2534 | ";" => 95, | ||
| 2535 | 'error' => 96 | ||
| 2536 | }, | ||
| 2537 | GOTOS => { | ||
| 2538 | 'check_semicolon' => 389 | ||
| 2539 | } | ||
| 2540 | }, | ||
| 2541 | {#State 310 | ||
| 2542 | DEFAULT => -225 | ||
| 2543 | }, | ||
| 2544 | {#State 311 | ||
| 2545 | DEFAULT => -275 | ||
| 2546 | }, | ||
| 2547 | {#State 312 | ||
| 2548 | ACTIONS => { | ||
| 2549 | "-" => 243, | ||
| 2550 | "::" => 69, | ||
| 2551 | 'TRUE' => 256, | ||
| 2552 | "+" => 257, | ||
| 2553 | "~" => 244, | ||
| 2554 | 'INTEGER_LITERAL' => 258, | ||
| 2555 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2556 | 'FALSE' => 246, | ||
| 2557 | 'error' => 390, | ||
| 2558 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2559 | 'CHARACTER_LITERAL' => 263, | ||
| 2560 | 'IDENTIFIER' => 56, | ||
| 2561 | "(" => 253, | ||
| 2562 | 'FIXED_PT_LITERAL' => 267, | ||
| 2563 | 'STRING_LITERAL' => 270, | ||
| 2564 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 2565 | }, | ||
| 2566 | GOTOS => { | ||
| 2567 | 'shift_expr' => 259, | ||
| 2568 | 'literal' => 245, | ||
| 2569 | 'const_exp' => 247, | ||
| 2570 | 'unary_operator' => 248, | ||
| 2571 | 'string_literal' => 249, | ||
| 2572 | 'and_expr' => 250, | ||
| 2573 | 'or_expr' => 251, | ||
| 2574 | 'mult_expr' => 264, | ||
| 2575 | 'scoped_name' => 252, | ||
| 2576 | 'boolean_literal' => 265, | ||
| 2577 | 'add_expr' => 266, | ||
| 2578 | 'positive_int_const' => 391, | ||
| 2579 | 'unary_expr' => 254, | ||
| 2580 | 'primary_expr' => 269, | ||
| 2581 | 'wide_string_literal' => 271, | ||
| 2582 | 'xor_expr' => 272 | ||
| 2583 | } | ||
| 2584 | }, | ||
| 2585 | {#State 313 | ||
| 2586 | ACTIONS => { | ||
| 2587 | "[" => 312 | ||
| 2588 | }, | ||
| 2589 | DEFAULT => -276, | ||
| 2590 | GOTOS => { | ||
| 2591 | 'fixed_array_sizes' => 392, | ||
| 2592 | 'fixed_array_size' => 313 | ||
| 2593 | } | ||
| 2594 | }, | ||
| 2595 | {#State 314 | ||
| 2596 | ACTIONS => { | ||
| 2597 | 'IDENTIFIER' => 196, | ||
| 2598 | 'error' => 99 | ||
| 2599 | }, | ||
| 2600 | GOTOS => { | ||
| 2601 | 'declarators' => 393, | ||
| 2602 | 'array_declarator' => 199, | ||
| 2603 | 'simple_declarator' => 195, | ||
| 2604 | 'declarator' => 197, | ||
| 2605 | 'complex_declarator' => 200 | ||
| 2606 | } | ||
| 2607 | }, | ||
| 2608 | {#State 315 | ||
| 2609 | ACTIONS => { | ||
| 2610 | "::" => 69, | ||
| 2611 | 'IDENTIFIER' => 56, | ||
| 2612 | 'error' => 395 | ||
| 2613 | }, | ||
| 2614 | GOTOS => { | ||
| 2615 | 'interface_name' => 397, | ||
| 2616 | 'interface_names' => 396, | ||
| 2617 | 'scoped_name' => 394 | ||
| 2618 | } | ||
| 2619 | }, | ||
| 2620 | {#State 316 | ||
| 2621 | DEFAULT => -30 | ||
| 2622 | }, | ||
| 2623 | {#State 317 | ||
| 2624 | DEFAULT => -34 | ||
| 2625 | }, | ||
| 2626 | {#State 318 | ||
| 2627 | DEFAULT => -24 | ||
| 2628 | }, | ||
| 2629 | {#State 319 | ||
| 2630 | DEFAULT => -25 | ||
| 2631 | }, | ||
| 2632 | {#State 320 | ||
| 2633 | ACTIONS => { | ||
| 2634 | 'TRUNCATABLE' => 399 | ||
| 2635 | }, | ||
| 2636 | DEFAULT => -81, | ||
| 2637 | GOTOS => { | ||
| 2638 | 'inheritance_mod' => 398 | ||
| 2639 | } | ||
| 2640 | }, | ||
| 2641 | {#State 321 | ||
| 2642 | ACTIONS => { | ||
| 2643 | "::" => 69, | ||
| 2644 | 'IDENTIFIER' => 56, | ||
| 2645 | 'error' => 400 | ||
| 2646 | }, | ||
| 2647 | GOTOS => { | ||
| 2648 | 'interface_name' => 397, | ||
| 2649 | 'interface_names' => 401, | ||
| 2650 | 'scoped_name' => 394 | ||
| 2651 | } | ||
| 2652 | }, | ||
| 2653 | {#State 322 | ||
| 2654 | DEFAULT => -73 | ||
| 2655 | }, | ||
| 2656 | {#State 323 | ||
| 2657 | DEFAULT => -79 | ||
| 2658 | }, | ||
| 2659 | {#State 324 | ||
| 2660 | DEFAULT => -63 | ||
| 2661 | }, | ||
| 2662 | {#State 325 | ||
| 2663 | DEFAULT => -64 | ||
| 2664 | }, | ||
| 2665 | {#State 326 | ||
| 2666 | DEFAULT => -65 | ||
| 2667 | }, | ||
| 2668 | {#State 327 | ||
| 2669 | DEFAULT => -287 | ||
| 2670 | }, | ||
| 2671 | {#State 328 | ||
| 2672 | DEFAULT => -288 | ||
| 2673 | }, | ||
| 2674 | {#State 329 | ||
| 2675 | DEFAULT => -15 | ||
| 2676 | }, | ||
| 2677 | {#State 330 | ||
| 2678 | DEFAULT => -16 | ||
| 2679 | }, | ||
| 2680 | {#State 331 | ||
| 2681 | DEFAULT => -110 | ||
| 2682 | }, | ||
| 2683 | {#State 332 | ||
| 2684 | ACTIONS => { | ||
| 2685 | "-" => 243, | ||
| 2686 | "::" => 69, | ||
| 2687 | 'TRUE' => 256, | ||
| 2688 | "+" => 257, | ||
| 2689 | "~" => 244, | ||
| 2690 | 'INTEGER_LITERAL' => 258, | ||
| 2691 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2692 | 'FALSE' => 246, | ||
| 2693 | 'error' => 403, | ||
| 2694 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2695 | 'CHARACTER_LITERAL' => 263, | ||
| 2696 | 'IDENTIFIER' => 56, | ||
| 2697 | "(" => 253, | ||
| 2698 | 'FIXED_PT_LITERAL' => 267, | ||
| 2699 | 'STRING_LITERAL' => 270, | ||
| 2700 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 2701 | }, | ||
| 2702 | GOTOS => { | ||
| 2703 | 'and_expr' => 250, | ||
| 2704 | 'or_expr' => 251, | ||
| 2705 | 'mult_expr' => 264, | ||
| 2706 | 'shift_expr' => 259, | ||
| 2707 | 'scoped_name' => 252, | ||
| 2708 | 'boolean_literal' => 265, | ||
| 2709 | 'add_expr' => 266, | ||
| 2710 | 'literal' => 245, | ||
| 2711 | 'primary_expr' => 269, | ||
| 2712 | 'unary_expr' => 254, | ||
| 2713 | 'unary_operator' => 248, | ||
| 2714 | 'const_exp' => 402, | ||
| 2715 | 'xor_expr' => 272, | ||
| 2716 | 'wide_string_literal' => 271, | ||
| 2717 | 'string_literal' => 249 | ||
| 2718 | } | ||
| 2719 | }, | ||
| 2720 | {#State 333 | ||
| 2721 | DEFAULT => -260 | ||
| 2722 | }, | ||
| 2723 | {#State 334 | ||
| 2724 | DEFAULT => -234 | ||
| 2725 | }, | ||
| 2726 | {#State 335 | ||
| 2727 | ACTIONS => { | ||
| 2728 | "{" => 405, | ||
| 2729 | 'error' => 404 | ||
| 2730 | } | ||
| 2731 | }, | ||
| 2732 | {#State 336 | ||
| 2733 | DEFAULT => -140 | ||
| 2734 | }, | ||
| 2735 | {#State 337 | ||
| 2736 | ACTIONS => { | ||
| 2737 | "-" => 243, | ||
| 2738 | "::" => 69, | ||
| 2739 | 'TRUE' => 256, | ||
| 2740 | 'IDENTIFIER' => 56, | ||
| 2741 | "+" => 257, | ||
| 2742 | "~" => 244, | ||
| 2743 | 'INTEGER_LITERAL' => 258, | ||
| 2744 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2745 | 'FIXED_PT_LITERAL' => 267, | ||
| 2746 | "(" => 253, | ||
| 2747 | 'FALSE' => 246, | ||
| 2748 | 'STRING_LITERAL' => 270, | ||
| 2749 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2750 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2751 | 'CHARACTER_LITERAL' => 263 | ||
| 2752 | }, | ||
| 2753 | GOTOS => { | ||
| 2754 | 'mult_expr' => 264, | ||
| 2755 | 'shift_expr' => 406, | ||
| 2756 | 'scoped_name' => 252, | ||
| 2757 | 'boolean_literal' => 265, | ||
| 2758 | 'add_expr' => 266, | ||
| 2759 | 'literal' => 245, | ||
| 2760 | 'primary_expr' => 269, | ||
| 2761 | 'unary_expr' => 254, | ||
| 2762 | 'unary_operator' => 248, | ||
| 2763 | 'wide_string_literal' => 271, | ||
| 2764 | 'string_literal' => 249 | ||
| 2765 | } | ||
| 2766 | }, | ||
| 2767 | {#State 338 | ||
| 2768 | ACTIONS => { | ||
| 2769 | "-" => 243, | ||
| 2770 | "::" => 69, | ||
| 2771 | 'TRUE' => 256, | ||
| 2772 | 'IDENTIFIER' => 56, | ||
| 2773 | "+" => 257, | ||
| 2774 | "~" => 244, | ||
| 2775 | 'INTEGER_LITERAL' => 258, | ||
| 2776 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2777 | 'FIXED_PT_LITERAL' => 267, | ||
| 2778 | "(" => 253, | ||
| 2779 | 'FALSE' => 246, | ||
| 2780 | 'STRING_LITERAL' => 270, | ||
| 2781 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2782 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2783 | 'CHARACTER_LITERAL' => 263 | ||
| 2784 | }, | ||
| 2785 | GOTOS => { | ||
| 2786 | 'and_expr' => 250, | ||
| 2787 | 'mult_expr' => 264, | ||
| 2788 | 'shift_expr' => 259, | ||
| 2789 | 'scoped_name' => 252, | ||
| 2790 | 'boolean_literal' => 265, | ||
| 2791 | 'add_expr' => 266, | ||
| 2792 | 'literal' => 245, | ||
| 2793 | 'primary_expr' => 269, | ||
| 2794 | 'unary_expr' => 254, | ||
| 2795 | 'unary_operator' => 248, | ||
| 2796 | 'xor_expr' => 407, | ||
| 2797 | 'wide_string_literal' => 271, | ||
| 2798 | 'string_literal' => 249 | ||
| 2799 | } | ||
| 2800 | }, | ||
| 2801 | {#State 339 | ||
| 2802 | ACTIONS => { | ||
| 2803 | ")" => 408 | ||
| 2804 | } | ||
| 2805 | }, | ||
| 2806 | {#State 340 | ||
| 2807 | ACTIONS => { | ||
| 2808 | ")" => 409 | ||
| 2809 | } | ||
| 2810 | }, | ||
| 2811 | {#State 341 | ||
| 2812 | ACTIONS => { | ||
| 2813 | "-" => 243, | ||
| 2814 | "::" => 69, | ||
| 2815 | 'TRUE' => 256, | ||
| 2816 | 'IDENTIFIER' => 56, | ||
| 2817 | "+" => 257, | ||
| 2818 | "~" => 244, | ||
| 2819 | 'INTEGER_LITERAL' => 258, | ||
| 2820 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2821 | 'FIXED_PT_LITERAL' => 267, | ||
| 2822 | "(" => 253, | ||
| 2823 | 'FALSE' => 246, | ||
| 2824 | 'STRING_LITERAL' => 270, | ||
| 2825 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2826 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2827 | 'CHARACTER_LITERAL' => 263 | ||
| 2828 | }, | ||
| 2829 | GOTOS => { | ||
| 2830 | 'mult_expr' => 264, | ||
| 2831 | 'scoped_name' => 252, | ||
| 2832 | 'boolean_literal' => 265, | ||
| 2833 | 'literal' => 245, | ||
| 2834 | 'add_expr' => 410, | ||
| 2835 | 'primary_expr' => 269, | ||
| 2836 | 'unary_expr' => 254, | ||
| 2837 | 'unary_operator' => 248, | ||
| 2838 | 'wide_string_literal' => 271, | ||
| 2839 | 'string_literal' => 249 | ||
| 2840 | } | ||
| 2841 | }, | ||
| 2842 | {#State 342 | ||
| 2843 | ACTIONS => { | ||
| 2844 | "-" => 243, | ||
| 2845 | "::" => 69, | ||
| 2846 | 'TRUE' => 256, | ||
| 2847 | 'IDENTIFIER' => 56, | ||
| 2848 | "+" => 257, | ||
| 2849 | "~" => 244, | ||
| 2850 | 'INTEGER_LITERAL' => 258, | ||
| 2851 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2852 | 'FIXED_PT_LITERAL' => 267, | ||
| 2853 | "(" => 253, | ||
| 2854 | 'FALSE' => 246, | ||
| 2855 | 'STRING_LITERAL' => 270, | ||
| 2856 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2857 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2858 | 'CHARACTER_LITERAL' => 263 | ||
| 2859 | }, | ||
| 2860 | GOTOS => { | ||
| 2861 | 'mult_expr' => 264, | ||
| 2862 | 'scoped_name' => 252, | ||
| 2863 | 'boolean_literal' => 265, | ||
| 2864 | 'literal' => 245, | ||
| 2865 | 'add_expr' => 411, | ||
| 2866 | 'primary_expr' => 269, | ||
| 2867 | 'unary_expr' => 254, | ||
| 2868 | 'unary_operator' => 248, | ||
| 2869 | 'wide_string_literal' => 271, | ||
| 2870 | 'string_literal' => 249 | ||
| 2871 | } | ||
| 2872 | }, | ||
| 2873 | {#State 343 | ||
| 2874 | DEFAULT => -271 | ||
| 2875 | }, | ||
| 2876 | {#State 344 | ||
| 2877 | DEFAULT => -160 | ||
| 2878 | }, | ||
| 2879 | {#State 345 | ||
| 2880 | ACTIONS => { | ||
| 2881 | "-" => 243, | ||
| 2882 | "::" => 69, | ||
| 2883 | 'TRUE' => 256, | ||
| 2884 | 'IDENTIFIER' => 56, | ||
| 2885 | "+" => 257, | ||
| 2886 | "~" => 244, | ||
| 2887 | 'INTEGER_LITERAL' => 258, | ||
| 2888 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2889 | 'FIXED_PT_LITERAL' => 267, | ||
| 2890 | "(" => 253, | ||
| 2891 | 'FALSE' => 246, | ||
| 2892 | 'STRING_LITERAL' => 270, | ||
| 2893 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2894 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2895 | 'CHARACTER_LITERAL' => 263 | ||
| 2896 | }, | ||
| 2897 | GOTOS => { | ||
| 2898 | 'literal' => 245, | ||
| 2899 | 'primary_expr' => 269, | ||
| 2900 | 'unary_expr' => 412, | ||
| 2901 | 'unary_operator' => 248, | ||
| 2902 | 'scoped_name' => 252, | ||
| 2903 | 'wide_string_literal' => 271, | ||
| 2904 | 'boolean_literal' => 265, | ||
| 2905 | 'string_literal' => 249 | ||
| 2906 | } | ||
| 2907 | }, | ||
| 2908 | {#State 346 | ||
| 2909 | ACTIONS => { | ||
| 2910 | "-" => 243, | ||
| 2911 | "::" => 69, | ||
| 2912 | 'TRUE' => 256, | ||
| 2913 | 'IDENTIFIER' => 56, | ||
| 2914 | "+" => 257, | ||
| 2915 | "~" => 244, | ||
| 2916 | 'INTEGER_LITERAL' => 258, | ||
| 2917 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2918 | 'FIXED_PT_LITERAL' => 267, | ||
| 2919 | "(" => 253, | ||
| 2920 | 'FALSE' => 246, | ||
| 2921 | 'STRING_LITERAL' => 270, | ||
| 2922 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2923 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2924 | 'CHARACTER_LITERAL' => 263 | ||
| 2925 | }, | ||
| 2926 | GOTOS => { | ||
| 2927 | 'literal' => 245, | ||
| 2928 | 'primary_expr' => 269, | ||
| 2929 | 'unary_expr' => 413, | ||
| 2930 | 'unary_operator' => 248, | ||
| 2931 | 'scoped_name' => 252, | ||
| 2932 | 'wide_string_literal' => 271, | ||
| 2933 | 'boolean_literal' => 265, | ||
| 2934 | 'string_literal' => 249 | ||
| 2935 | } | ||
| 2936 | }, | ||
| 2937 | {#State 347 | ||
| 2938 | ACTIONS => { | ||
| 2939 | "-" => 243, | ||
| 2940 | "::" => 69, | ||
| 2941 | 'TRUE' => 256, | ||
| 2942 | 'IDENTIFIER' => 56, | ||
| 2943 | "+" => 257, | ||
| 2944 | "~" => 244, | ||
| 2945 | 'INTEGER_LITERAL' => 258, | ||
| 2946 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2947 | 'FIXED_PT_LITERAL' => 267, | ||
| 2948 | "(" => 253, | ||
| 2949 | 'FALSE' => 246, | ||
| 2950 | 'STRING_LITERAL' => 270, | ||
| 2951 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2952 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2953 | 'CHARACTER_LITERAL' => 263 | ||
| 2954 | }, | ||
| 2955 | GOTOS => { | ||
| 2956 | 'literal' => 245, | ||
| 2957 | 'primary_expr' => 269, | ||
| 2958 | 'unary_expr' => 414, | ||
| 2959 | 'unary_operator' => 248, | ||
| 2960 | 'scoped_name' => 252, | ||
| 2961 | 'wide_string_literal' => 271, | ||
| 2962 | 'boolean_literal' => 265, | ||
| 2963 | 'string_literal' => 249 | ||
| 2964 | } | ||
| 2965 | }, | ||
| 2966 | {#State 348 | ||
| 2967 | ACTIONS => { | ||
| 2968 | "-" => 243, | ||
| 2969 | "::" => 69, | ||
| 2970 | 'TRUE' => 256, | ||
| 2971 | 'IDENTIFIER' => 56, | ||
| 2972 | "+" => 257, | ||
| 2973 | "~" => 244, | ||
| 2974 | 'INTEGER_LITERAL' => 258, | ||
| 2975 | 'FLOATING_PT_LITERAL' => 260, | ||
| 2976 | 'FIXED_PT_LITERAL' => 267, | ||
| 2977 | "(" => 253, | ||
| 2978 | 'FALSE' => 246, | ||
| 2979 | 'STRING_LITERAL' => 270, | ||
| 2980 | 'WIDE_STRING_LITERAL' => 262, | ||
| 2981 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 2982 | 'CHARACTER_LITERAL' => 263 | ||
| 2983 | }, | ||
| 2984 | GOTOS => { | ||
| 2985 | 'mult_expr' => 415, | ||
| 2986 | 'scoped_name' => 252, | ||
| 2987 | 'boolean_literal' => 265, | ||
| 2988 | 'literal' => 245, | ||
| 2989 | 'unary_expr' => 254, | ||
| 2990 | 'primary_expr' => 269, | ||
| 2991 | 'unary_operator' => 248, | ||
| 2992 | 'wide_string_literal' => 271, | ||
| 2993 | 'string_literal' => 249 | ||
| 2994 | } | ||
| 2995 | }, | ||
| 2996 | {#State 349 | ||
| 2997 | ACTIONS => { | ||
| 2998 | "-" => 243, | ||
| 2999 | "::" => 69, | ||
| 3000 | 'TRUE' => 256, | ||
| 3001 | 'IDENTIFIER' => 56, | ||
| 3002 | "+" => 257, | ||
| 3003 | "~" => 244, | ||
| 3004 | 'INTEGER_LITERAL' => 258, | ||
| 3005 | 'FLOATING_PT_LITERAL' => 260, | ||
| 3006 | 'FIXED_PT_LITERAL' => 267, | ||
| 3007 | "(" => 253, | ||
| 3008 | 'FALSE' => 246, | ||
| 3009 | 'STRING_LITERAL' => 270, | ||
| 3010 | 'WIDE_STRING_LITERAL' => 262, | ||
| 3011 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 3012 | 'CHARACTER_LITERAL' => 263 | ||
| 3013 | }, | ||
| 3014 | GOTOS => { | ||
| 3015 | 'mult_expr' => 416, | ||
| 3016 | 'scoped_name' => 252, | ||
| 3017 | 'boolean_literal' => 265, | ||
| 3018 | 'literal' => 245, | ||
| 3019 | 'unary_expr' => 254, | ||
| 3020 | 'primary_expr' => 269, | ||
| 3021 | 'unary_operator' => 248, | ||
| 3022 | 'wide_string_literal' => 271, | ||
| 3023 | 'string_literal' => 249 | ||
| 3024 | } | ||
| 3025 | }, | ||
| 3026 | {#State 350 | ||
| 3027 | DEFAULT => -269 | ||
| 3028 | }, | ||
| 3029 | {#State 351 | ||
| 3030 | DEFAULT => -158 | ||
| 3031 | }, | ||
| 3032 | {#State 352 | ||
| 3033 | ACTIONS => { | ||
| 3034 | "-" => 243, | ||
| 3035 | "::" => 69, | ||
| 3036 | 'TRUE' => 256, | ||
| 3037 | 'IDENTIFIER' => 56, | ||
| 3038 | "+" => 257, | ||
| 3039 | "~" => 244, | ||
| 3040 | 'INTEGER_LITERAL' => 258, | ||
| 3041 | 'FLOATING_PT_LITERAL' => 260, | ||
| 3042 | 'FIXED_PT_LITERAL' => 267, | ||
| 3043 | "(" => 253, | ||
| 3044 | 'FALSE' => 246, | ||
| 3045 | 'STRING_LITERAL' => 270, | ||
| 3046 | 'WIDE_STRING_LITERAL' => 262, | ||
| 3047 | 'WIDE_CHARACTER_LITERAL' => 255, | ||
| 3048 | 'CHARACTER_LITERAL' => 263 | ||
| 3049 | }, | ||
| 3050 | GOTOS => { | ||
| 3051 | 'and_expr' => 417, | ||
| 3052 | 'mult_expr' => 264, | ||
| 3053 | 'shift_expr' => 259, | ||
| 3054 | 'scoped_name' => 252, | ||
| 3055 | 'boolean_literal' => 265, | ||
| 3056 | 'add_expr' => 266, | ||
| 3057 | 'literal' => 245, | ||
| 3058 | 'primary_expr' => 269, | ||
| 3059 | 'unary_expr' => 254, | ||
| 3060 | 'unary_operator' => 248, | ||
| 3061 | 'wide_string_literal' => 271, | ||
| 3062 | 'string_literal' => 249 | ||
| 3063 | } | ||
| 3064 | }, | ||
| 3065 | {#State 353 | ||
| 3066 | DEFAULT => -274 | ||
| 3067 | }, | ||
| 3068 | {#State 354 | ||
| 3069 | DEFAULT => -272 | ||
| 3070 | }, | ||
| 3071 | {#State 355 | ||
| 3072 | DEFAULT => -267 | ||
| 3073 | }, | ||
| 3074 | {#State 356 | ||
| 3075 | DEFAULT => -266 | ||
| 3076 | }, | ||
| 3077 | {#State 357 | ||
| 3078 | ACTIONS => { | ||
| 3079 | "-" => 243, | ||
| 3080 | "::" => 69, | ||
| 3081 | 'TRUE' => 256, | ||
| 3082 | "+" => 257, | ||
| 3083 | "~" => 244, | ||
| 3084 | 'INTEGER_LITERAL' => 258, | ||
| 3085 | 'FLOATING_PT_LITERAL' => 260, | ||
| 3086 | 'FALSE' => 246, | ||
| 3087 | 'error' => 418, | ||
| 3088 | 'WIDE_STRING_LITERAL' => 262, | ||
| 3089 | 'CHARACTER_LITERAL' => 263, | ||
| 3090 | 'IDENTIFIER' => 56, | ||
| 3091 | "(" => 253, | ||
| 3092 | 'FIXED_PT_LITERAL' => 267, | ||
| 3093 | 'STRING_LITERAL' => 270, | ||
| 3094 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 3095 | }, | ||
| 3096 | GOTOS => { | ||
| 3097 | 'shift_expr' => 259, | ||
| 3098 | 'literal' => 245, | ||
| 3099 | 'const_exp' => 247, | ||
| 3100 | 'unary_operator' => 248, | ||
| 3101 | 'string_literal' => 249, | ||
| 3102 | 'and_expr' => 250, | ||
| 3103 | 'or_expr' => 251, | ||
| 3104 | 'mult_expr' => 264, | ||
| 3105 | 'scoped_name' => 252, | ||
| 3106 | 'boolean_literal' => 265, | ||
| 3107 | 'add_expr' => 266, | ||
| 3108 | 'positive_int_const' => 419, | ||
| 3109 | 'unary_expr' => 254, | ||
| 3110 | 'primary_expr' => 269, | ||
| 3111 | 'wide_string_literal' => 271, | ||
| 3112 | 'xor_expr' => 272 | ||
| 3113 | } | ||
| 3114 | }, | ||
| 3115 | {#State 358 | ||
| 3116 | DEFAULT => -341 | ||
| 3117 | }, | ||
| 3118 | {#State 359 | ||
| 3119 | ACTIONS => { | ||
| 3120 | "-" => 243, | ||
| 3121 | "::" => 69, | ||
| 3122 | 'TRUE' => 256, | ||
| 3123 | "+" => 257, | ||
| 3124 | "~" => 244, | ||
| 3125 | 'INTEGER_LITERAL' => 258, | ||
| 3126 | 'FLOATING_PT_LITERAL' => 260, | ||
| 3127 | 'FALSE' => 246, | ||
| 3128 | 'error' => 420, | ||
| 3129 | 'WIDE_STRING_LITERAL' => 262, | ||
| 3130 | 'CHARACTER_LITERAL' => 263, | ||
| 3131 | 'IDENTIFIER' => 56, | ||
| 3132 | "(" => 253, | ||
| 3133 | 'FIXED_PT_LITERAL' => 267, | ||
| 3134 | 'STRING_LITERAL' => 270, | ||
| 3135 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 3136 | }, | ||
| 3137 | GOTOS => { | ||
| 3138 | 'shift_expr' => 259, | ||
| 3139 | 'literal' => 245, | ||
| 3140 | 'const_exp' => 247, | ||
| 3141 | 'unary_operator' => 248, | ||
| 3142 | 'string_literal' => 249, | ||
| 3143 | 'and_expr' => 250, | ||
| 3144 | 'or_expr' => 251, | ||
| 3145 | 'mult_expr' => 264, | ||
| 3146 | 'scoped_name' => 252, | ||
| 3147 | 'boolean_literal' => 265, | ||
| 3148 | 'add_expr' => 266, | ||
| 3149 | 'positive_int_const' => 421, | ||
| 3150 | 'unary_expr' => 254, | ||
| 3151 | 'primary_expr' => 269, | ||
| 3152 | 'wide_string_literal' => 271, | ||
| 3153 | 'xor_expr' => 272 | ||
| 3154 | } | ||
| 3155 | }, | ||
| 3156 | {#State 360 | ||
| 3157 | DEFAULT => -331 | ||
| 3158 | }, | ||
| 3159 | {#State 361 | ||
| 3160 | DEFAULT => -333 | ||
| 3161 | }, | ||
| 3162 | {#State 362 | ||
| 3163 | ACTIONS => { | ||
| 3164 | 'IDENTIFIER' => 98, | ||
| 3165 | 'error' => 99 | ||
| 3166 | }, | ||
| 3167 | GOTOS => { | ||
| 3168 | 'simple_declarators' => 423, | ||
| 3169 | 'simple_declarator' => 422 | ||
| 3170 | } | ||
| 3171 | }, | ||
| 3172 | {#State 363 | ||
| 3173 | DEFAULT => -332 | ||
| 3174 | }, | ||
| 3175 | {#State 364 | ||
| 3176 | DEFAULT => -330 | ||
| 3177 | }, | ||
| 3178 | {#State 365 | ||
| 3179 | DEFAULT => -334 | ||
| 3180 | }, | ||
| 3181 | {#State 366 | ||
| 3182 | DEFAULT => -281 | ||
| 3183 | }, | ||
| 3184 | {#State 367 | ||
| 3185 | DEFAULT => -294 | ||
| 3186 | }, | ||
| 3187 | {#State 368 | ||
| 3188 | DEFAULT => -295 | ||
| 3189 | }, | ||
| 3190 | {#State 369 | ||
| 3191 | ACTIONS => { | ||
| 3192 | "::" => 69, | ||
| 3193 | 'ENUM' => 30, | ||
| 3194 | 'CHAR' => 70, | ||
| 3195 | 'OBJECT' => 74, | ||
| 3196 | 'STRING' => 77, | ||
| 3197 | 'OCTET' => 47, | ||
| 3198 | 'WSTRING' => 79, | ||
| 3199 | 'UNION' => 34, | ||
| 3200 | 'UNSIGNED' => 49, | ||
| 3201 | 'ANY' => 50, | ||
| 3202 | 'FLOAT' => 82, | ||
| 3203 | 'LONG' => 51, | ||
| 3204 | 'SEQUENCE' => 84, | ||
| 3205 | 'IDENTIFIER' => 56, | ||
| 3206 | 'DOUBLE' => 85, | ||
| 3207 | 'SHORT' => 86, | ||
| 3208 | 'BOOLEAN' => 88, | ||
| 3209 | 'STRUCT' => 24, | ||
| 3210 | 'VOID' => 360, | ||
| 3211 | 'FIXED' => 91, | ||
| 3212 | 'VALUEBASE' => 93, | ||
| 3213 | 'WCHAR' => 66 | ||
| 3214 | }, | ||
| 3215 | GOTOS => { | ||
| 3216 | 'union_type' => 45, | ||
| 3217 | 'enum_header' => 5, | ||
| 3218 | 'unsigned_short_int' => 46, | ||
| 3219 | 'struct_type' => 48, | ||
| 3220 | 'union_header' => 7, | ||
| 3221 | 'struct_header' => 12, | ||
| 3222 | 'signed_longlong_int' => 52, | ||
| 3223 | 'enum_type' => 53, | ||
| 3224 | 'any_type' => 54, | ||
| 3225 | 'unsigned_long_int' => 57, | ||
| 3226 | 'scoped_name' => 282, | ||
| 3227 | 'string_type' => 283, | ||
| 3228 | 'char_type' => 60, | ||
| 3229 | 'param_type_spec' => 424, | ||
| 3230 | 'fixed_pt_type' => 361, | ||
| 3231 | 'signed_long_int' => 62, | ||
| 3232 | 'signed_short_int' => 63, | ||
| 3233 | 'wide_char_type' => 65, | ||
| 3234 | 'octet_type' => 67, | ||
| 3235 | 'wide_string_type' => 286, | ||
| 3236 | 'object_type' => 71, | ||
| 3237 | 'integer_type' => 73, | ||
| 3238 | 'sequence_type' => 363, | ||
| 3239 | 'unsigned_int' => 75, | ||
| 3240 | 'op_param_type_spec' => 364, | ||
| 3241 | 'unsigned_longlong_int' => 78, | ||
| 3242 | 'constr_type_spec' => 365, | ||
| 3243 | 'floating_pt_type' => 81, | ||
| 3244 | 'value_base_type' => 83, | ||
| 3245 | 'base_type_spec' => 289, | ||
| 3246 | 'signed_int' => 89, | ||
| 3247 | 'boolean_type' => 92 | ||
| 3248 | } | ||
| 3249 | }, | ||
| 3250 | {#State 370 | ||
| 3251 | DEFAULT => -315 | ||
| 3252 | }, | ||
| 3253 | {#State 371 | ||
| 3254 | DEFAULT => -314 | ||
| 3255 | }, | ||
| 3256 | {#State 372 | ||
| 3257 | ACTIONS => { | ||
| 3258 | ";" => 425 | ||
| 3259 | }, | ||
| 3260 | DEFAULT => -309 | ||
| 3261 | }, | ||
| 3262 | {#State 373 | ||
| 3263 | ACTIONS => { | ||
| 3264 | "," => 426, | ||
| 3265 | ")" => 427 | ||
| 3266 | } | ||
| 3267 | }, | ||
| 3268 | {#State 374 | ||
| 3269 | ACTIONS => { | ||
| 3270 | ")" => 428 | ||
| 3271 | } | ||
| 3272 | }, | ||
| 3273 | {#State 375 | ||
| 3274 | DEFAULT => -306 | ||
| 3275 | }, | ||
| 3276 | {#State 376 | ||
| 3277 | ACTIONS => { | ||
| 3278 | ")" => 429 | ||
| 3279 | } | ||
| 3280 | }, | ||
| 3281 | {#State 377 | ||
| 3282 | DEFAULT => -313 | ||
| 3283 | }, | ||
| 3284 | {#State 378 | ||
| 3285 | ACTIONS => { | ||
| 3286 | "(" => 430, | ||
| 3287 | 'error' => 431 | ||
| 3288 | } | ||
| 3289 | }, | ||
| 3290 | {#State 379 | ||
| 3291 | ACTIONS => { | ||
| 3292 | 'CONTEXT' => 433 | ||
| 3293 | }, | ||
| 3294 | DEFAULT => -327, | ||
| 3295 | GOTOS => { | ||
| 3296 | 'context_expr' => 432 | ||
| 3297 | } | ||
| 3298 | }, | ||
| 3299 | {#State 380 | ||
| 3300 | ACTIONS => { | ||
| 3301 | "::" => 69, | ||
| 3302 | 'ENUM' => 30, | ||
| 3303 | 'CHAR' => 70, | ||
| 3304 | 'OBJECT' => 74, | ||
| 3305 | 'STRING' => 77, | ||
| 3306 | 'OCTET' => 47, | ||
| 3307 | 'WSTRING' => 79, | ||
| 3308 | 'UNION' => 34, | ||
| 3309 | 'UNSIGNED' => 49, | ||
| 3310 | 'error' => 435, | ||
| 3311 | 'ANY' => 50, | ||
| 3312 | 'FLOAT' => 82, | ||
| 3313 | 'LONG' => 51, | ||
| 3314 | 'SEQUENCE' => 84, | ||
| 3315 | 'IDENTIFIER' => 56, | ||
| 3316 | 'DOUBLE' => 85, | ||
| 3317 | 'SHORT' => 86, | ||
| 3318 | 'BOOLEAN' => 88, | ||
| 3319 | 'STRUCT' => 24, | ||
| 3320 | 'VOID' => 360, | ||
| 3321 | 'FIXED' => 91, | ||
| 3322 | 'VALUEBASE' => 93, | ||
| 3323 | 'WCHAR' => 66 | ||
| 3324 | }, | ||
| 3325 | GOTOS => { | ||
| 3326 | 'union_type' => 45, | ||
| 3327 | 'enum_header' => 5, | ||
| 3328 | 'unsigned_short_int' => 46, | ||
| 3329 | 'struct_type' => 48, | ||
| 3330 | 'union_header' => 7, | ||
| 3331 | 'struct_header' => 12, | ||
| 3332 | 'signed_longlong_int' => 52, | ||
| 3333 | 'enum_type' => 53, | ||
| 3334 | 'any_type' => 54, | ||
| 3335 | 'unsigned_long_int' => 57, | ||
| 3336 | 'scoped_name' => 282, | ||
| 3337 | 'string_type' => 283, | ||
| 3338 | 'char_type' => 60, | ||
| 3339 | 'param_type_spec' => 434, | ||
| 3340 | 'fixed_pt_type' => 361, | ||
| 3341 | 'signed_long_int' => 62, | ||
| 3342 | 'signed_short_int' => 63, | ||
| 3343 | 'wide_char_type' => 65, | ||
| 3344 | 'octet_type' => 67, | ||
| 3345 | 'wide_string_type' => 286, | ||
| 3346 | 'object_type' => 71, | ||
| 3347 | 'integer_type' => 73, | ||
| 3348 | 'sequence_type' => 363, | ||
| 3349 | 'unsigned_int' => 75, | ||
| 3350 | 'op_param_type_spec' => 364, | ||
| 3351 | 'unsigned_longlong_int' => 78, | ||
| 3352 | 'constr_type_spec' => 365, | ||
| 3353 | 'floating_pt_type' => 81, | ||
| 3354 | 'value_base_type' => 83, | ||
| 3355 | 'base_type_spec' => 289, | ||
| 3356 | 'signed_int' => 89, | ||
| 3357 | 'boolean_type' => 92 | ||
| 3358 | } | ||
| 3359 | }, | ||
| 3360 | {#State 381 | ||
| 3361 | ACTIONS => { | ||
| 3362 | "," => 436 | ||
| 3363 | }, | ||
| 3364 | DEFAULT => -103 | ||
| 3365 | }, | ||
| 3366 | {#State 382 | ||
| 3367 | ACTIONS => { | ||
| 3368 | ")" => 437 | ||
| 3369 | } | ||
| 3370 | }, | ||
| 3371 | {#State 383 | ||
| 3372 | DEFAULT => -97 | ||
| 3373 | }, | ||
| 3374 | {#State 384 | ||
| 3375 | ACTIONS => { | ||
| 3376 | ")" => 438 | ||
| 3377 | } | ||
| 3378 | }, | ||
| 3379 | {#State 385 | ||
| 3380 | DEFAULT => -107 | ||
| 3381 | }, | ||
| 3382 | {#State 386 | ||
| 3383 | ACTIONS => { | ||
| 3384 | ";" => 439, | ||
| 3385 | "," => 166 | ||
| 3386 | } | ||
| 3387 | }, | ||
| 3388 | {#State 387 | ||
| 3389 | ACTIONS => { | ||
| 3390 | ";" => 95, | ||
| 3391 | 'error' => 96 | ||
| 3392 | }, | ||
| 3393 | GOTOS => { | ||
| 3394 | 'check_semicolon' => 440 | ||
| 3395 | } | ||
| 3396 | }, | ||
| 3397 | {#State 388 | ||
| 3398 | DEFAULT => -93 | ||
| 3399 | }, | ||
| 3400 | {#State 389 | ||
| 3401 | DEFAULT => -230 | ||
| 3402 | }, | ||
| 3403 | {#State 390 | ||
| 3404 | ACTIONS => { | ||
| 3405 | "]" => 441 | ||
| 3406 | } | ||
| 3407 | }, | ||
| 3408 | {#State 391 | ||
| 3409 | ACTIONS => { | ||
| 3410 | "]" => 442 | ||
| 3411 | } | ||
| 3412 | }, | ||
| 3413 | {#State 392 | ||
| 3414 | DEFAULT => -277 | ||
| 3415 | }, | ||
| 3416 | {#State 393 | ||
| 3417 | DEFAULT => -194 | ||
| 3418 | }, | ||
| 3419 | {#State 394 | ||
| 3420 | ACTIONS => { | ||
| 3421 | "::" => 156 | ||
| 3422 | }, | ||
| 3423 | DEFAULT => -48 | ||
| 3424 | }, | ||
| 3425 | {#State 395 | ||
| 3426 | DEFAULT => -44 | ||
| 3427 | }, | ||
| 3428 | {#State 396 | ||
| 3429 | DEFAULT => -43 | ||
| 3430 | }, | ||
| 3431 | {#State 397 | ||
| 3432 | ACTIONS => { | ||
| 3433 | "," => 443 | ||
| 3434 | }, | ||
| 3435 | DEFAULT => -46 | ||
| 3436 | }, | ||
| 3437 | {#State 398 | ||
| 3438 | ACTIONS => { | ||
| 3439 | "::" => 69, | ||
| 3440 | 'IDENTIFIER' => 56, | ||
| 3441 | 'error' => 447 | ||
| 3442 | }, | ||
| 3443 | GOTOS => { | ||
| 3444 | 'value_name' => 444, | ||
| 3445 | 'value_names' => 445, | ||
| 3446 | 'scoped_name' => 446 | ||
| 3447 | } | ||
| 3448 | }, | ||
| 3449 | {#State 399 | ||
| 3450 | DEFAULT => -80 | ||
| 3451 | }, | ||
| 3452 | {#State 400 | ||
| 3453 | DEFAULT => -85 | ||
| 3454 | }, | ||
| 3455 | {#State 401 | ||
| 3456 | DEFAULT => -84 | ||
| 3457 | }, | ||
| 3458 | {#State 402 | ||
| 3459 | DEFAULT => -108 | ||
| 3460 | }, | ||
| 3461 | {#State 403 | ||
| 3462 | DEFAULT => -109 | ||
| 3463 | }, | ||
| 3464 | {#State 404 | ||
| 3465 | DEFAULT => -233 | ||
| 3466 | }, | ||
| 3467 | {#State 405 | ||
| 3468 | ACTIONS => { | ||
| 3469 | 'DEFAULT' => 453, | ||
| 3470 | 'error' => 451, | ||
| 3471 | 'CASE' => 448 | ||
| 3472 | }, | ||
| 3473 | GOTOS => { | ||
| 3474 | 'case_label' => 454, | ||
| 3475 | 'switch_body' => 449, | ||
| 3476 | 'case' => 450, | ||
| 3477 | 'case_labels' => 452 | ||
| 3478 | } | ||
| 3479 | }, | ||
| 3480 | {#State 406 | ||
| 3481 | ACTIONS => { | ||
| 3482 | "<<" => 342, | ||
| 3483 | ">>" => 341 | ||
| 3484 | }, | ||
| 3485 | DEFAULT => -129 | ||
| 3486 | }, | ||
| 3487 | {#State 407 | ||
| 3488 | ACTIONS => { | ||
| 3489 | "^" => 352 | ||
| 3490 | }, | ||
| 3491 | DEFAULT => -125 | ||
| 3492 | }, | ||
| 3493 | {#State 408 | ||
| 3494 | DEFAULT => -147 | ||
| 3495 | }, | ||
| 3496 | {#State 409 | ||
| 3497 | DEFAULT => -148 | ||
| 3498 | }, | ||
| 3499 | {#State 410 | ||
| 3500 | ACTIONS => { | ||
| 3501 | "-" => 348, | ||
| 3502 | "+" => 349 | ||
| 3503 | }, | ||
| 3504 | DEFAULT => -131 | ||
| 3505 | }, | ||
| 3506 | {#State 411 | ||
| 3507 | ACTIONS => { | ||
| 3508 | "-" => 348, | ||
| 3509 | "+" => 349 | ||
| 3510 | }, | ||
| 3511 | DEFAULT => -132 | ||
| 3512 | }, | ||
| 3513 | {#State 412 | ||
| 3514 | DEFAULT => -139 | ||
| 3515 | }, | ||
| 3516 | {#State 413 | ||
| 3517 | DEFAULT => -137 | ||
| 3518 | }, | ||
| 3519 | {#State 414 | ||
| 3520 | DEFAULT => -138 | ||
| 3521 | }, | ||
| 3522 | {#State 415 | ||
| 3523 | ACTIONS => { | ||
| 3524 | "%" => 345, | ||
| 3525 | "*" => 346, | ||
| 3526 | "/" => 347 | ||
| 3527 | }, | ||
| 3528 | DEFAULT => -135 | ||
| 3529 | }, | ||
| 3530 | {#State 416 | ||
| 3531 | ACTIONS => { | ||
| 3532 | "%" => 345, | ||
| 3533 | "*" => 346, | ||
| 3534 | "/" => 347 | ||
| 3535 | }, | ||
| 3536 | DEFAULT => -134 | ||
| 3537 | }, | ||
| 3538 | {#State 417 | ||
| 3539 | ACTIONS => { | ||
| 3540 | "&" => 337 | ||
| 3541 | }, | ||
| 3542 | DEFAULT => -127 | ||
| 3543 | }, | ||
| 3544 | {#State 418 | ||
| 3545 | ACTIONS => { | ||
| 3546 | ">" => 455 | ||
| 3547 | } | ||
| 3548 | }, | ||
| 3549 | {#State 419 | ||
| 3550 | ACTIONS => { | ||
| 3551 | ">" => 456 | ||
| 3552 | } | ||
| 3553 | }, | ||
| 3554 | {#State 420 | ||
| 3555 | ACTIONS => { | ||
| 3556 | ">" => 457 | ||
| 3557 | } | ||
| 3558 | }, | ||
| 3559 | {#State 421 | ||
| 3560 | ACTIONS => { | ||
| 3561 | ">" => 458 | ||
| 3562 | } | ||
| 3563 | }, | ||
| 3564 | {#State 422 | ||
| 3565 | ACTIONS => { | ||
| 3566 | "," => 459 | ||
| 3567 | }, | ||
| 3568 | DEFAULT => -284 | ||
| 3569 | }, | ||
| 3570 | {#State 423 | ||
| 3571 | DEFAULT => -280 | ||
| 3572 | }, | ||
| 3573 | {#State 424 | ||
| 3574 | ACTIONS => { | ||
| 3575 | 'IDENTIFIER' => 98, | ||
| 3576 | 'error' => 99 | ||
| 3577 | }, | ||
| 3578 | GOTOS => { | ||
| 3579 | 'simple_declarator' => 460 | ||
| 3580 | } | ||
| 3581 | }, | ||
| 3582 | {#State 425 | ||
| 3583 | DEFAULT => -311 | ||
| 3584 | }, | ||
| 3585 | {#State 426 | ||
| 3586 | ACTIONS => { | ||
| 3587 | ")" => 462, | ||
| 3588 | 'INOUT' => 370, | ||
| 3589 | "..." => 463, | ||
| 3590 | 'OUT' => 371, | ||
| 3591 | 'IN' => 377 | ||
| 3592 | }, | ||
| 3593 | DEFAULT => -316, | ||
| 3594 | GOTOS => { | ||
| 3595 | 'param_attribute' => 369, | ||
| 3596 | 'param_dcl' => 461 | ||
| 3597 | } | ||
| 3598 | }, | ||
| 3599 | {#State 427 | ||
| 3600 | DEFAULT => -303 | ||
| 3601 | }, | ||
| 3602 | {#State 428 | ||
| 3603 | DEFAULT => -308 | ||
| 3604 | }, | ||
| 3605 | {#State 429 | ||
| 3606 | DEFAULT => -307 | ||
| 3607 | }, | ||
| 3608 | {#State 430 | ||
| 3609 | ACTIONS => { | ||
| 3610 | "::" => 69, | ||
| 3611 | 'IDENTIFIER' => 56, | ||
| 3612 | 'error' => 465 | ||
| 3613 | }, | ||
| 3614 | GOTOS => { | ||
| 3615 | 'exception_names' => 466, | ||
| 3616 | 'scoped_name' => 464, | ||
| 3617 | 'exception_name' => 467 | ||
| 3618 | } | ||
| 3619 | }, | ||
| 3620 | {#State 431 | ||
| 3621 | DEFAULT => -319 | ||
| 3622 | }, | ||
| 3623 | {#State 432 | ||
| 3624 | DEFAULT => -292 | ||
| 3625 | }, | ||
| 3626 | {#State 433 | ||
| 3627 | ACTIONS => { | ||
| 3628 | "(" => 468, | ||
| 3629 | 'error' => 469 | ||
| 3630 | } | ||
| 3631 | }, | ||
| 3632 | {#State 434 | ||
| 3633 | ACTIONS => { | ||
| 3634 | 'IDENTIFIER' => 98, | ||
| 3635 | 'error' => 99 | ||
| 3636 | }, | ||
| 3637 | GOTOS => { | ||
| 3638 | 'simple_declarator' => 470 | ||
| 3639 | } | ||
| 3640 | }, | ||
| 3641 | {#State 435 | ||
| 3642 | DEFAULT => -106 | ||
| 3643 | }, | ||
| 3644 | {#State 436 | ||
| 3645 | ACTIONS => { | ||
| 3646 | 'IN' => 385 | ||
| 3647 | }, | ||
| 3648 | GOTOS => { | ||
| 3649 | 'init_param_decl' => 381, | ||
| 3650 | 'init_param_decls' => 471, | ||
| 3651 | 'init_param_attribute' => 380 | ||
| 3652 | } | ||
| 3653 | }, | ||
| 3654 | {#State 437 | ||
| 3655 | DEFAULT => -99 | ||
| 3656 | }, | ||
| 3657 | {#State 438 | ||
| 3658 | DEFAULT => -98 | ||
| 3659 | }, | ||
| 3660 | {#State 439 | ||
| 3661 | ACTIONS => { | ||
| 3662 | ";" => -199, | ||
| 3663 | "," => -199, | ||
| 3664 | 'error' => -199 | ||
| 3665 | }, | ||
| 3666 | DEFAULT => -92 | ||
| 3667 | }, | ||
| 3668 | {#State 440 | ||
| 3669 | DEFAULT => -91 | ||
| 3670 | }, | ||
| 3671 | {#State 441 | ||
| 3672 | DEFAULT => -279 | ||
| 3673 | }, | ||
| 3674 | {#State 442 | ||
| 3675 | DEFAULT => -278 | ||
| 3676 | }, | ||
| 3677 | {#State 443 | ||
| 3678 | ACTIONS => { | ||
| 3679 | "::" => 69, | ||
| 3680 | 'IDENTIFIER' => 56 | ||
| 3681 | }, | ||
| 3682 | GOTOS => { | ||
| 3683 | 'interface_name' => 397, | ||
| 3684 | 'interface_names' => 472, | ||
| 3685 | 'scoped_name' => 394 | ||
| 3686 | } | ||
| 3687 | }, | ||
| 3688 | {#State 444 | ||
| 3689 | ACTIONS => { | ||
| 3690 | "," => 473 | ||
| 3691 | }, | ||
| 3692 | DEFAULT => -82 | ||
| 3693 | }, | ||
| 3694 | {#State 445 | ||
| 3695 | ACTIONS => { | ||
| 3696 | 'SUPPORTS' => 321 | ||
| 3697 | }, | ||
| 3698 | DEFAULT => -86, | ||
| 3699 | GOTOS => { | ||
| 3700 | 'supported_interface_spec' => 474 | ||
| 3701 | } | ||
| 3702 | }, | ||
| 3703 | {#State 446 | ||
| 3704 | ACTIONS => { | ||
| 3705 | "::" => 156 | ||
| 3706 | }, | ||
| 3707 | DEFAULT => -87 | ||
| 3708 | }, | ||
| 3709 | {#State 447 | ||
| 3710 | DEFAULT => -78 | ||
| 3711 | }, | ||
| 3712 | {#State 448 | ||
| 3713 | ACTIONS => { | ||
| 3714 | "-" => 243, | ||
| 3715 | "::" => 69, | ||
| 3716 | 'TRUE' => 256, | ||
| 3717 | "+" => 257, | ||
| 3718 | "~" => 244, | ||
| 3719 | 'INTEGER_LITERAL' => 258, | ||
| 3720 | 'FLOATING_PT_LITERAL' => 260, | ||
| 3721 | 'FALSE' => 246, | ||
| 3722 | 'error' => 476, | ||
| 3723 | 'WIDE_STRING_LITERAL' => 262, | ||
| 3724 | 'CHARACTER_LITERAL' => 263, | ||
| 3725 | 'IDENTIFIER' => 56, | ||
| 3726 | "(" => 253, | ||
| 3727 | 'FIXED_PT_LITERAL' => 267, | ||
| 3728 | 'STRING_LITERAL' => 270, | ||
| 3729 | 'WIDE_CHARACTER_LITERAL' => 255 | ||
| 3730 | }, | ||
| 3731 | GOTOS => { | ||
| 3732 | 'and_expr' => 250, | ||
| 3733 | 'or_expr' => 251, | ||
| 3734 | 'mult_expr' => 264, | ||
| 3735 | 'shift_expr' => 259, | ||
| 3736 | 'scoped_name' => 252, | ||
| 3737 | 'boolean_literal' => 265, | ||
| 3738 | 'add_expr' => 266, | ||
| 3739 | 'literal' => 245, | ||
| 3740 | 'primary_expr' => 269, | ||
| 3741 | 'unary_expr' => 254, | ||
| 3742 | 'unary_operator' => 248, | ||
| 3743 | 'const_exp' => 475, | ||
| 3744 | 'xor_expr' => 272, | ||
| 3745 | 'wide_string_literal' => 271, | ||
| 3746 | 'string_literal' => 249 | ||
| 3747 | } | ||
| 3748 | }, | ||
| 3749 | {#State 449 | ||
| 3750 | ACTIONS => { | ||
| 3751 | "}" => 477 | ||
| 3752 | } | ||
| 3753 | }, | ||
| 3754 | {#State 450 | ||
| 3755 | ACTIONS => { | ||
| 3756 | 'DEFAULT' => 453, | ||
| 3757 | 'CASE' => 448 | ||
| 3758 | }, | ||
| 3759 | DEFAULT => -243, | ||
| 3760 | GOTOS => { | ||
| 3761 | 'case_label' => 454, | ||
| 3762 | 'switch_body' => 478, | ||
| 3763 | 'case' => 450, | ||
| 3764 | 'case_labels' => 452 | ||
| 3765 | } | ||
| 3766 | }, | ||
| 3767 | {#State 451 | ||
| 3768 | ACTIONS => { | ||
| 3769 | "}" => 479 | ||
| 3770 | } | ||
| 3771 | }, | ||
| 3772 | {#State 452 | ||
| 3773 | ACTIONS => { | ||
| 3774 | "::" => 69, | ||
| 3775 | 'ENUM' => 30, | ||
| 3776 | 'CHAR' => 70, | ||
| 3777 | 'OBJECT' => 74, | ||
| 3778 | 'STRING' => 77, | ||
| 3779 | 'OCTET' => 47, | ||
| 3780 | 'WSTRING' => 79, | ||
| 3781 | 'UNION' => 34, | ||
| 3782 | 'UNSIGNED' => 49, | ||
| 3783 | 'ANY' => 50, | ||
| 3784 | 'FLOAT' => 82, | ||
| 3785 | 'LONG' => 51, | ||
| 3786 | 'SEQUENCE' => 84, | ||
| 3787 | 'IDENTIFIER' => 56, | ||
| 3788 | 'DOUBLE' => 85, | ||
| 3789 | 'SHORT' => 86, | ||
| 3790 | 'BOOLEAN' => 88, | ||
| 3791 | 'STRUCT' => 24, | ||
| 3792 | 'VOID' => 61, | ||
| 3793 | 'FIXED' => 91, | ||
| 3794 | 'VALUEBASE' => 93, | ||
| 3795 | 'WCHAR' => 66 | ||
| 3796 | }, | ||
| 3797 | GOTOS => { | ||
| 3798 | 'union_type' => 45, | ||
| 3799 | 'enum_header' => 5, | ||
| 3800 | 'unsigned_short_int' => 46, | ||
| 3801 | 'struct_type' => 48, | ||
| 3802 | 'union_header' => 7, | ||
| 3803 | 'struct_header' => 12, | ||
| 3804 | 'signed_longlong_int' => 52, | ||
| 3805 | 'enum_type' => 53, | ||
| 3806 | 'any_type' => 54, | ||
| 3807 | 'template_type_spec' => 55, | ||
| 3808 | 'element_spec' => 480, | ||
| 3809 | 'unsigned_long_int' => 57, | ||
| 3810 | 'scoped_name' => 58, | ||
| 3811 | 'string_type' => 59, | ||
| 3812 | 'char_type' => 60, | ||
| 3813 | 'fixed_pt_type' => 64, | ||
| 3814 | 'signed_short_int' => 63, | ||
| 3815 | 'signed_long_int' => 62, | ||
| 3816 | 'wide_char_type' => 65, | ||
| 3817 | 'octet_type' => 67, | ||
| 3818 | 'wide_string_type' => 68, | ||
| 3819 | 'object_type' => 71, | ||
| 3820 | 'type_spec' => 481, | ||
| 3821 | 'integer_type' => 73, | ||
| 3822 | 'unsigned_int' => 75, | ||
| 3823 | 'sequence_type' => 76, | ||
| 3824 | 'unsigned_longlong_int' => 78, | ||
| 3825 | 'constr_type_spec' => 80, | ||
| 3826 | 'floating_pt_type' => 81, | ||
| 3827 | 'value_base_type' => 83, | ||
| 3828 | 'base_type_spec' => 87, | ||
| 3829 | 'signed_int' => 89, | ||
| 3830 | 'simple_type_spec' => 90, | ||
| 3831 | 'boolean_type' => 92 | ||
| 3832 | } | ||
| 3833 | }, | ||
| 3834 | {#State 453 | ||
| 3835 | ACTIONS => { | ||
| 3836 | ":" => 482, | ||
| 3837 | 'error' => 483 | ||
| 3838 | } | ||
| 3839 | }, | ||
| 3840 | {#State 454 | ||
| 3841 | ACTIONS => { | ||
| 3842 | 'CASE' => 448, | ||
| 3843 | 'DEFAULT' => 453 | ||
| 3844 | }, | ||
| 3845 | DEFAULT => -246, | ||
| 3846 | GOTOS => { | ||
| 3847 | 'case_label' => 454, | ||
| 3848 | 'case_labels' => 484 | ||
| 3849 | } | ||
| 3850 | }, | ||
| 3851 | {#State 455 | ||
| 3852 | DEFAULT => -265 | ||
| 3853 | }, | ||
| 3854 | {#State 456 | ||
| 3855 | DEFAULT => -264 | ||
| 3856 | }, | ||
| 3857 | {#State 457 | ||
| 3858 | DEFAULT => -340 | ||
| 3859 | }, | ||
| 3860 | {#State 458 | ||
| 3861 | DEFAULT => -339 | ||
| 3862 | }, | ||
| 3863 | {#State 459 | ||
| 3864 | ACTIONS => { | ||
| 3865 | 'IDENTIFIER' => 98, | ||
| 3866 | 'error' => 99 | ||
| 3867 | }, | ||
| 3868 | GOTOS => { | ||
| 3869 | 'simple_declarators' => 485, | ||
| 3870 | 'simple_declarator' => 422 | ||
| 3871 | } | ||
| 3872 | }, | ||
| 3873 | {#State 460 | ||
| 3874 | DEFAULT => -312 | ||
| 3875 | }, | ||
| 3876 | {#State 461 | ||
| 3877 | DEFAULT => -310 | ||
| 3878 | }, | ||
| 3879 | {#State 462 | ||
| 3880 | DEFAULT => -305 | ||
| 3881 | }, | ||
| 3882 | {#State 463 | ||
| 3883 | ACTIONS => { | ||
| 3884 | ")" => 486 | ||
| 3885 | } | ||
| 3886 | }, | ||
| 3887 | {#State 464 | ||
| 3888 | ACTIONS => { | ||
| 3889 | "::" => 156 | ||
| 3890 | }, | ||
| 3891 | DEFAULT => -323 | ||
| 3892 | }, | ||
| 3893 | {#State 465 | ||
| 3894 | ACTIONS => { | ||
| 3895 | ")" => 487 | ||
| 3896 | } | ||
| 3897 | }, | ||
| 3898 | {#State 466 | ||
| 3899 | ACTIONS => { | ||
| 3900 | ")" => 488 | ||
| 3901 | } | ||
| 3902 | }, | ||
| 3903 | {#State 467 | ||
| 3904 | ACTIONS => { | ||
| 3905 | "," => 489 | ||
| 3906 | }, | ||
| 3907 | DEFAULT => -321 | ||
| 3908 | }, | ||
| 3909 | {#State 468 | ||
| 3910 | ACTIONS => { | ||
| 3911 | 'STRING_LITERAL' => 270, | ||
| 3912 | 'error' => 492 | ||
| 3913 | }, | ||
| 3914 | GOTOS => { | ||
| 3915 | 'string_literals' => 491, | ||
| 3916 | 'string_literal' => 490 | ||
| 3917 | } | ||
| 3918 | }, | ||
| 3919 | {#State 469 | ||
| 3920 | DEFAULT => -326 | ||
| 3921 | }, | ||
| 3922 | {#State 470 | ||
| 3923 | DEFAULT => -105 | ||
| 3924 | }, | ||
| 3925 | {#State 471 | ||
| 3926 | DEFAULT => -104 | ||
| 3927 | }, | ||
| 3928 | {#State 472 | ||
| 3929 | DEFAULT => -47 | ||
| 3930 | }, | ||
| 3931 | {#State 473 | ||
| 3932 | ACTIONS => { | ||
| 3933 | "::" => 69, | ||
| 3934 | 'IDENTIFIER' => 56 | ||
| 3935 | }, | ||
| 3936 | GOTOS => { | ||
| 3937 | 'value_name' => 444, | ||
| 3938 | 'value_names' => 493, | ||
| 3939 | 'scoped_name' => 446 | ||
| 3940 | } | ||
| 3941 | }, | ||
| 3942 | {#State 474 | ||
| 3943 | DEFAULT => -77 | ||
| 3944 | }, | ||
| 3945 | {#State 475 | ||
| 3946 | ACTIONS => { | ||
| 3947 | ":" => 494, | ||
| 3948 | 'error' => 495 | ||
| 3949 | } | ||
| 3950 | }, | ||
| 3951 | {#State 476 | ||
| 3952 | DEFAULT => -250 | ||
| 3953 | }, | ||
| 3954 | {#State 477 | ||
| 3955 | DEFAULT => -231 | ||
| 3956 | }, | ||
| 3957 | {#State 478 | ||
| 3958 | DEFAULT => -244 | ||
| 3959 | }, | ||
| 3960 | {#State 479 | ||
| 3961 | DEFAULT => -232 | ||
| 3962 | }, | ||
| 3963 | {#State 480 | ||
| 3964 | ACTIONS => { | ||
| 3965 | ";" => 95, | ||
| 3966 | 'error' => 96 | ||
| 3967 | }, | ||
| 3968 | GOTOS => { | ||
| 3969 | 'check_semicolon' => 496 | ||
| 3970 | } | ||
| 3971 | }, | ||
| 3972 | {#State 481 | ||
| 3973 | ACTIONS => { | ||
| 3974 | 'IDENTIFIER' => 196, | ||
| 3975 | 'error' => 99 | ||
| 3976 | }, | ||
| 3977 | GOTOS => { | ||
| 3978 | 'array_declarator' => 199, | ||
| 3979 | 'simple_declarator' => 195, | ||
| 3980 | 'declarator' => 497, | ||
| 3981 | 'complex_declarator' => 200 | ||
| 3982 | } | ||
| 3983 | }, | ||
| 3984 | {#State 482 | ||
| 3985 | DEFAULT => -251 | ||
| 3986 | }, | ||
| 3987 | {#State 483 | ||
| 3988 | DEFAULT => -252 | ||
| 3989 | }, | ||
| 3990 | {#State 484 | ||
| 3991 | DEFAULT => -247 | ||
| 3992 | }, | ||
| 3993 | {#State 485 | ||
| 3994 | DEFAULT => -285 | ||
| 3995 | }, | ||
| 3996 | {#State 486 | ||
| 3997 | DEFAULT => -304 | ||
| 3998 | }, | ||
| 3999 | {#State 487 | ||
| 4000 | DEFAULT => -318 | ||
| 4001 | }, | ||
| 4002 | {#State 488 | ||
| 4003 | DEFAULT => -317 | ||
| 4004 | }, | ||
| 4005 | {#State 489 | ||
| 4006 | ACTIONS => { | ||
| 4007 | "::" => 69, | ||
| 4008 | 'IDENTIFIER' => 56 | ||
| 4009 | }, | ||
| 4010 | GOTOS => { | ||
| 4011 | 'exception_names' => 498, | ||
| 4012 | 'scoped_name' => 464, | ||
| 4013 | 'exception_name' => 467 | ||
| 4014 | } | ||
| 4015 | }, | ||
| 4016 | {#State 490 | ||
| 4017 | ACTIONS => { | ||
| 4018 | "," => 499 | ||
| 4019 | }, | ||
| 4020 | DEFAULT => -328 | ||
| 4021 | }, | ||
| 4022 | {#State 491 | ||
| 4023 | ACTIONS => { | ||
| 4024 | ")" => 500 | ||
| 4025 | } | ||
| 4026 | }, | ||
| 4027 | {#State 492 | ||
| 4028 | ACTIONS => { | ||
| 4029 | ")" => 501 | ||
| 4030 | } | ||
| 4031 | }, | ||
| 4032 | {#State 493 | ||
| 4033 | DEFAULT => -83 | ||
| 4034 | }, | ||
| 4035 | {#State 494 | ||
| 4036 | DEFAULT => -248 | ||
| 4037 | }, | ||
| 4038 | {#State 495 | ||
| 4039 | DEFAULT => -249 | ||
| 4040 | }, | ||
| 4041 | {#State 496 | ||
| 4042 | DEFAULT => -245 | ||
| 4043 | }, | ||
| 4044 | {#State 497 | ||
| 4045 | DEFAULT => -253 | ||
| 4046 | }, | ||
| 4047 | {#State 498 | ||
| 4048 | DEFAULT => -322 | ||
| 4049 | }, | ||
| 4050 | {#State 499 | ||
| 4051 | ACTIONS => { | ||
| 4052 | 'STRING_LITERAL' => 270 | ||
| 4053 | }, | ||
| 4054 | GOTOS => { | ||
| 4055 | 'string_literals' => 502, | ||
| 4056 | 'string_literal' => 490 | ||
| 4057 | } | ||
| 4058 | }, | ||
| 4059 | {#State 500 | ||
| 4060 | DEFAULT => -324 | ||
| 4061 | }, | ||
| 4062 | {#State 501 | ||
| 4063 | DEFAULT => -325 | ||
| 4064 | }, | ||
| 4065 | {#State 502 | ||
| 4066 | DEFAULT => -329 | ||
| 4067 | } | ||
| 4068 | ], | ||
| 4069 | yyrules => | ||
| 4070 | [ | ||
| 4071 | [#Rule 0 | ||
| 4072 | '$start', 2, undef | ||
| 4073 | ], | ||
| 4074 | [#Rule 1 | ||
| 4075 | 'specification', 1, | ||
| 4076 | sub | ||
| 4077 | #line 69 "Parser23.yp" | ||
| 4078 | { | ||
| 4079 | $_[0]->YYData->{root} = new CORBA::IDL::Specification($_[0], | ||
| 4080 | 'list_decl' => $_[1], | ||
| 4081 | ); | ||
| 4082 | } | ||
| 4083 | ], | ||
| 4084 | [#Rule 2 | ||
| 4085 | 'specification', 0, | ||
| 4086 | sub | ||
| 4087 | #line 75 "Parser23.yp" | ||
| 4088 | { | ||
| 4089 | $_[0]->Error("Empty specification.\n"); | ||
| 4090 | } | ||
| 4091 | ], | ||
| 4092 | [#Rule 3 | ||
| 4093 | 'specification', 1, | ||
| 4094 | sub | ||
| 4095 | #line 79 "Parser23.yp" | ||
| 4096 | { | ||
| 4097 | $_[0]->Error("definition declaration expected.\n"); | ||
| 4098 | } | ||
| 4099 | ], | ||
| 4100 | [#Rule 4 | ||
| 4101 | 'definitions', 1, | ||
| 4102 | sub | ||
| 4103 | #line 86 "Parser23.yp" | ||
| 4104 | { | ||
| 4105 | [$_[1]->getRef()]; | ||
| 4106 | } | ||
| 4107 | ], | ||
| 4108 | [#Rule 5 | ||
| 4109 | 'definitions', 2, | ||
| 4110 | sub | ||
| 4111 | #line 90 "Parser23.yp" | ||
| 4112 | { | ||
| 4113 | unshift @{$_[2]}, $_[1]->getRef(); | ||
| 4114 | $_[2]; | ||
| 4115 | } | ||
| 4116 | ], | ||
| 4117 | [#Rule 6 | ||
| 4118 | 'definition', 2, undef | ||
| 4119 | ], | ||
| 4120 | [#Rule 7 | ||
| 4121 | 'definition', 2, undef | ||
| 4122 | ], | ||
| 4123 | [#Rule 8 | ||
| 4124 | 'definition', 2, undef | ||
| 4125 | ], | ||
| 4126 | [#Rule 9 | ||
| 4127 | 'definition', 2, undef | ||
| 4128 | ], | ||
| 4129 | [#Rule 10 | ||
| 4130 | 'definition', 2, undef | ||
| 4131 | ], | ||
| 4132 | [#Rule 11 | ||
| 4133 | 'definition', 2, undef | ||
| 4134 | ], | ||
| 4135 | [#Rule 12 | ||
| 4136 | 'definition', 3, | ||
| 4137 | sub | ||
| 4138 | #line 111 "Parser23.yp" | ||
| 4139 | { | ||
| 4140 | # when IDENTIFIER is a future keyword | ||
| 4141 | $_[0]->Error("'$_[1]' unexpected.\n"); | ||
| 4142 | $_[0]->YYErrok(); | ||
| 4143 | new CORBA::IDL::Node($_[0], | ||
| 4144 | 'idf' => $_[1] | ||
| 4145 | ); | ||
| 4146 | } | ||
| 4147 | ], | ||
| 4148 | [#Rule 13 | ||
| 4149 | 'check_semicolon', 1, undef | ||
| 4150 | ], | ||
| 4151 | [#Rule 14 | ||
| 4152 | 'check_semicolon', 1, | ||
| 4153 | sub | ||
| 4154 | #line 125 "Parser23.yp" | ||
| 4155 | { | ||
| 4156 | $_[0]->Warning("';' expected.\n"); | ||
| 4157 | $_[0]->YYErrok(); | ||
| 4158 | } | ||
| 4159 | ], | ||
| 4160 | [#Rule 15 | ||
| 4161 | 'module', 4, | ||
| 4162 | sub | ||
| 4163 | #line 134 "Parser23.yp" | ||
| 4164 | { | ||
| 4165 | $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]); | ||
| 4166 | $_[1]->Configure($_[0], | ||
| 4167 | 'list_decl' => $_[3] | ||
| 4168 | ) if (defined $_[1]); | ||
| 4169 | } | ||
| 4170 | ], | ||
| 4171 | [#Rule 16 | ||
| 4172 | 'module', 4, | ||
| 4173 | sub | ||
| 4174 | #line 141 "Parser23.yp" | ||
| 4175 | { | ||
| 4176 | $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]); | ||
| 4177 | $_[0]->Error("definition declaration expected.\n"); | ||
| 4178 | $_[0]->YYErrok(); | ||
| 4179 | $_[1]; | ||
| 4180 | } | ||
| 4181 | ], | ||
| 4182 | [#Rule 17 | ||
| 4183 | 'module', 3, | ||
| 4184 | sub | ||
| 4185 | #line 148 "Parser23.yp" | ||
| 4186 | { | ||
| 4187 | $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]); | ||
| 4188 | $_[0]->Error("Empty module.\n"); | ||
| 4189 | $_[0]->YYErrok(); | ||
| 4190 | $_[1]; | ||
| 4191 | } | ||
| 4192 | ], | ||
| 4193 | [#Rule 18 | ||
| 4194 | 'module', 3, | ||
| 4195 | sub | ||
| 4196 | #line 155 "Parser23.yp" | ||
| 4197 | { | ||
| 4198 | $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]); | ||
| 4199 | $_[0]->Error("'\x7b' expected.\n"); | ||
| 4200 | $_[0]->YYErrok(); | ||
| 4201 | $_[1]; | ||
| 4202 | } | ||
| 4203 | ], | ||
| 4204 | [#Rule 19 | ||
| 4205 | 'module_header', 2, | ||
| 4206 | sub | ||
| 4207 | #line 165 "Parser23.yp" | ||
| 4208 | { | ||
| 4209 | new CORBA::IDL::Module($_[0], | ||
| 4210 | 'idf' => $_[2], | ||
| 4211 | ); | ||
| 4212 | } | ||
| 4213 | ], | ||
| 4214 | [#Rule 20 | ||
| 4215 | 'module_header', 2, | ||
| 4216 | sub | ||
| 4217 | #line 171 "Parser23.yp" | ||
| 4218 | { | ||
| 4219 | $_[0]->Error("Identifier expected.\n"); | ||
| 4220 | $_[0]->YYErrok(); | ||
| 4221 | } | ||
| 4222 | ], | ||
| 4223 | [#Rule 21 | ||
| 4224 | 'interface', 1, undef | ||
| 4225 | ], | ||
| 4226 | [#Rule 22 | ||
| 4227 | 'interface', 1, undef | ||
| 4228 | ], | ||
| 4229 | [#Rule 23 | ||
| 4230 | 'interface_dcl', 3, | ||
| 4231 | sub | ||
| 4232 | #line 188 "Parser23.yp" | ||
| 4233 | { | ||
| 4234 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4235 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4236 | $_[1]->Configure($_[0], | ||
| 4237 | 'list_decl' => [] | ||
| 4238 | ) if (defined $_[1]); | ||
| 4239 | } | ||
| 4240 | ], | ||
| 4241 | [#Rule 24 | ||
| 4242 | 'interface_dcl', 4, | ||
| 4243 | sub | ||
| 4244 | #line 196 "Parser23.yp" | ||
| 4245 | { | ||
| 4246 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4247 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4248 | $_[1]->Configure($_[0], | ||
| 4249 | 'list_decl' => $_[3] | ||
| 4250 | ) if (defined $_[1]); | ||
| 4251 | } | ||
| 4252 | ], | ||
| 4253 | [#Rule 25 | ||
| 4254 | 'interface_dcl', 4, | ||
| 4255 | sub | ||
| 4256 | #line 204 "Parser23.yp" | ||
| 4257 | { | ||
| 4258 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4259 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4260 | $_[0]->Error("export declaration expected.\n"); | ||
| 4261 | $_[0]->YYErrok(); | ||
| 4262 | $_[1]; | ||
| 4263 | } | ||
| 4264 | ], | ||
| 4265 | [#Rule 26 | ||
| 4266 | 'forward_dcl', 3, | ||
| 4267 | sub | ||
| 4268 | #line 216 "Parser23.yp" | ||
| 4269 | { | ||
| 4270 | if (defined $_[1] and $_[1] eq 'abstract') { | ||
| 4271 | new CORBA::IDL::ForwardAbstractInterface($_[0], | ||
| 4272 | 'idf' => $_[3] | ||
| 4273 | ); | ||
| 4274 | } | ||
| 4275 | else { | ||
| 4276 | new CORBA::IDL::ForwardRegularInterface($_[0], | ||
| 4277 | 'idf' => $_[3] | ||
| 4278 | ); | ||
| 4279 | } | ||
| 4280 | } | ||
| 4281 | ], | ||
| 4282 | [#Rule 27 | ||
| 4283 | 'forward_dcl', 3, | ||
| 4284 | sub | ||
| 4285 | #line 229 "Parser23.yp" | ||
| 4286 | { | ||
| 4287 | $_[0]->Error("Identifier expected.\n"); | ||
| 4288 | $_[0]->YYErrok(); | ||
| 4289 | } | ||
| 4290 | ], | ||
| 4291 | [#Rule 28 | ||
| 4292 | 'interface_mod', 1, undef | ||
| 4293 | ], | ||
| 4294 | [#Rule 29 | ||
| 4295 | 'interface_mod', 0, undef | ||
| 4296 | ], | ||
| 4297 | [#Rule 30 | ||
| 4298 | 'interface_header', 4, | ||
| 4299 | sub | ||
| 4300 | #line 245 "Parser23.yp" | ||
| 4301 | { | ||
| 4302 | if (defined $_[1] and $_[1] eq 'abstract') { | ||
| 4303 | new CORBA::IDL::AbstractInterface($_[0], | ||
| 4304 | 'idf' => $_[3], | ||
| 4305 | 'inheritance' => $_[4] | ||
| 4306 | ); | ||
| 4307 | } | ||
| 4308 | else { | ||
| 4309 | new CORBA::IDL::RegularInterface($_[0], | ||
| 4310 | 'idf' => $_[3], | ||
| 4311 | 'inheritance' => $_[4] | ||
| 4312 | ); | ||
| 4313 | } | ||
| 4314 | } | ||
| 4315 | ], | ||
| 4316 | [#Rule 31 | ||
| 4317 | 'interface_header', 3, | ||
| 4318 | sub | ||
| 4319 | #line 260 "Parser23.yp" | ||
| 4320 | { | ||
| 4321 | $_[0]->Error("Identifier expected.\n"); | ||
| 4322 | $_[0]->YYErrok(); | ||
| 4323 | } | ||
| 4324 | ], | ||
| 4325 | [#Rule 32 | ||
| 4326 | 'interface_body', 1, undef | ||
| 4327 | ], | ||
| 4328 | [#Rule 33 | ||
| 4329 | 'exports', 1, | ||
| 4330 | sub | ||
| 4331 | #line 274 "Parser23.yp" | ||
| 4332 | { | ||
| 4333 | [$_[1]->getRef()]; | ||
| 4334 | } | ||
| 4335 | ], | ||
| 4336 | [#Rule 34 | ||
| 4337 | 'exports', 2, | ||
| 4338 | sub | ||
| 4339 | #line 278 "Parser23.yp" | ||
| 4340 | { | ||
| 4341 | unshift @{$_[2]}, $_[1]->getRef(); | ||
| 4342 | $_[2]; | ||
| 4343 | } | ||
| 4344 | ], | ||
| 4345 | [#Rule 35 | ||
| 4346 | '_export', 1, undef | ||
| 4347 | ], | ||
| 4348 | [#Rule 36 | ||
| 4349 | '_export', 1, | ||
| 4350 | sub | ||
| 4351 | #line 289 "Parser23.yp" | ||
| 4352 | { | ||
| 4353 | $_[0]->Error("state member unexpected.\n"); | ||
| 4354 | $_[1]; #default action | ||
| 4355 | } | ||
| 4356 | ], | ||
| 4357 | [#Rule 37 | ||
| 4358 | '_export', 1, | ||
| 4359 | sub | ||
| 4360 | #line 294 "Parser23.yp" | ||
| 4361 | { | ||
| 4362 | $_[0]->Error("initializer unexpected.\n"); | ||
| 4363 | $_[1]; #default action | ||
| 4364 | } | ||
| 4365 | ], | ||
| 4366 | [#Rule 38 | ||
| 4367 | 'export', 2, undef | ||
| 4368 | ], | ||
| 4369 | [#Rule 39 | ||
| 4370 | 'export', 2, undef | ||
| 4371 | ], | ||
| 4372 | [#Rule 40 | ||
| 4373 | 'export', 2, undef | ||
| 4374 | ], | ||
| 4375 | [#Rule 41 | ||
| 4376 | 'export', 2, undef | ||
| 4377 | ], | ||
| 4378 | [#Rule 42 | ||
| 4379 | 'export', 2, undef | ||
| 4380 | ], | ||
| 4381 | [#Rule 43 | ||
| 4382 | 'interface_inheritance_spec', 2, | ||
| 4383 | sub | ||
| 4384 | #line 316 "Parser23.yp" | ||
| 4385 | { | ||
| 4386 | new CORBA::IDL::InheritanceSpec($_[0], | ||
| 4387 | 'list_interface' => $_[2] | ||
| 4388 | ); | ||
| 4389 | } | ||
| 4390 | ], | ||
| 4391 | [#Rule 44 | ||
| 4392 | 'interface_inheritance_spec', 2, | ||
| 4393 | sub | ||
| 4394 | #line 322 "Parser23.yp" | ||
| 4395 | { | ||
| 4396 | $_[0]->Error("Interface name expected.\n"); | ||
| 4397 | $_[0]->YYErrok(); | ||
| 4398 | } | ||
| 4399 | ], | ||
| 4400 | [#Rule 45 | ||
| 4401 | 'interface_inheritance_spec', 0, undef | ||
| 4402 | ], | ||
| 4403 | [#Rule 46 | ||
| 4404 | 'interface_names', 1, | ||
| 4405 | sub | ||
| 4406 | #line 332 "Parser23.yp" | ||
| 4407 | { | ||
| 4408 | [$_[1]]; | ||
| 4409 | } | ||
| 4410 | ], | ||
| 4411 | [#Rule 47 | ||
| 4412 | 'interface_names', 3, | ||
| 4413 | sub | ||
| 4414 | #line 336 "Parser23.yp" | ||
| 4415 | { | ||
| 4416 | unshift @{$_[3]}, $_[1]; | ||
| 4417 | $_[3]; | ||
| 4418 | } | ||
| 4419 | ], | ||
| 4420 | [#Rule 48 | ||
| 4421 | 'interface_name', 1, | ||
| 4422 | sub | ||
| 4423 | #line 345 "Parser23.yp" | ||
| 4424 | { | ||
| 4425 | CORBA::IDL::Interface->Lookup($_[0], $_[1]); | ||
| 4426 | } | ||
| 4427 | ], | ||
| 4428 | [#Rule 49 | ||
| 4429 | 'scoped_name', 1, undef | ||
| 4430 | ], | ||
| 4431 | [#Rule 50 | ||
| 4432 | 'scoped_name', 2, | ||
| 4433 | sub | ||
| 4434 | #line 355 "Parser23.yp" | ||
| 4435 | { | ||
| 4436 | $_[1] . $_[2]; | ||
| 4437 | } | ||
| 4438 | ], | ||
| 4439 | [#Rule 51 | ||
| 4440 | 'scoped_name', 2, | ||
| 4441 | sub | ||
| 4442 | #line 359 "Parser23.yp" | ||
| 4443 | { | ||
| 4444 | $_[0]->Error("Identifier expected.\n"); | ||
| 4445 | $_[0]->YYErrok(); | ||
| 4446 | ''; | ||
| 4447 | } | ||
| 4448 | ], | ||
| 4449 | [#Rule 52 | ||
| 4450 | 'scoped_name', 3, | ||
| 4451 | sub | ||
| 4452 | #line 365 "Parser23.yp" | ||
| 4453 | { | ||
| 4454 | $_[1] . $_[2] . $_[3]; | ||
| 4455 | } | ||
| 4456 | ], | ||
| 4457 | [#Rule 53 | ||
| 4458 | 'scoped_name', 3, | ||
| 4459 | sub | ||
| 4460 | #line 369 "Parser23.yp" | ||
| 4461 | { | ||
| 4462 | $_[0]->Error("Identifier expected.\n"); | ||
| 4463 | $_[0]->YYErrok(); | ||
| 4464 | $_[1]; | ||
| 4465 | } | ||
| 4466 | ], | ||
| 4467 | [#Rule 54 | ||
| 4468 | 'value', 1, undef | ||
| 4469 | ], | ||
| 4470 | [#Rule 55 | ||
| 4471 | 'value', 1, undef | ||
| 4472 | ], | ||
| 4473 | [#Rule 56 | ||
| 4474 | 'value', 1, undef | ||
| 4475 | ], | ||
| 4476 | [#Rule 57 | ||
| 4477 | 'value', 1, undef | ||
| 4478 | ], | ||
| 4479 | [#Rule 58 | ||
| 4480 | 'value_forward_dcl', 3, | ||
| 4481 | sub | ||
| 4482 | #line 391 "Parser23.yp" | ||
| 4483 | { | ||
| 4484 | $_[0]->Warning("CUSTOM unexpected.\n") | ||
| 4485 | if (defined $_[1]); | ||
| 4486 | new CORBA::IDL::ForwardRegularValue($_[0], | ||
| 4487 | 'idf' => $_[3] | ||
| 4488 | ); | ||
| 4489 | } | ||
| 4490 | ], | ||
| 4491 | [#Rule 59 | ||
| 4492 | 'value_forward_dcl', 3, | ||
| 4493 | sub | ||
| 4494 | #line 399 "Parser23.yp" | ||
| 4495 | { | ||
| 4496 | new CORBA::IDL::ForwardAbstractValue($_[0], | ||
| 4497 | 'idf' => $_[3] | ||
| 4498 | ); | ||
| 4499 | } | ||
| 4500 | ], | ||
| 4501 | [#Rule 60 | ||
| 4502 | 'value_box_dcl', 2, | ||
| 4503 | sub | ||
| 4504 | #line 409 "Parser23.yp" | ||
| 4505 | { | ||
| 4506 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4507 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4508 | $_[1]->Configure($_[0], | ||
| 4509 | 'type' => $_[2] | ||
| 4510 | ) if (defined $_[1]); | ||
| 4511 | } | ||
| 4512 | ], | ||
| 4513 | [#Rule 61 | ||
| 4514 | 'value_box_header', 3, | ||
| 4515 | sub | ||
| 4516 | #line 420 "Parser23.yp" | ||
| 4517 | { | ||
| 4518 | $_[0]->Warning("CUSTOM unexpected.\n") | ||
| 4519 | if (defined $_[1]); | ||
| 4520 | new CORBA::IDL::BoxedValue($_[0], | ||
| 4521 | 'idf' => $_[3], | ||
| 4522 | ); | ||
| 4523 | } | ||
| 4524 | ], | ||
| 4525 | [#Rule 62 | ||
| 4526 | 'value_abs_dcl', 3, | ||
| 4527 | sub | ||
| 4528 | #line 432 "Parser23.yp" | ||
| 4529 | { | ||
| 4530 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4531 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4532 | $_[1]->Configure($_[0], | ||
| 4533 | 'list_decl' => [] | ||
| 4534 | ) if (defined $_[1]); | ||
| 4535 | } | ||
| 4536 | ], | ||
| 4537 | [#Rule 63 | ||
| 4538 | 'value_abs_dcl', 4, | ||
| 4539 | sub | ||
| 4540 | #line 440 "Parser23.yp" | ||
| 4541 | { | ||
| 4542 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4543 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4544 | $_[1]->Configure($_[0], | ||
| 4545 | 'list_decl' => $_[3] | ||
| 4546 | ) if (defined $_[1]); | ||
| 4547 | } | ||
| 4548 | ], | ||
| 4549 | [#Rule 64 | ||
| 4550 | 'value_abs_dcl', 4, | ||
| 4551 | sub | ||
| 4552 | #line 448 "Parser23.yp" | ||
| 4553 | { | ||
| 4554 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4555 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4556 | $_[0]->Error("export declaration expected.\n"); | ||
| 4557 | $_[0]->YYErrok(); | ||
| 4558 | $_[1]; | ||
| 4559 | } | ||
| 4560 | ], | ||
| 4561 | [#Rule 65 | ||
| 4562 | 'value_abs_header', 4, | ||
| 4563 | sub | ||
| 4564 | #line 459 "Parser23.yp" | ||
| 4565 | { | ||
| 4566 | new CORBA::IDL::AbstractValue($_[0], | ||
| 4567 | 'idf' => $_[3], | ||
| 4568 | 'inheritance' => $_[4] | ||
| 4569 | ); | ||
| 4570 | } | ||
| 4571 | ], | ||
| 4572 | [#Rule 66 | ||
| 4573 | 'value_abs_header', 3, | ||
| 4574 | sub | ||
| 4575 | #line 466 "Parser23.yp" | ||
| 4576 | { | ||
| 4577 | $_[0]->Error("Identifier expected.\n"); | ||
| 4578 | $_[0]->YYErrok(); | ||
| 4579 | } | ||
| 4580 | ], | ||
| 4581 | [#Rule 67 | ||
| 4582 | 'value_abs_header', 2, | ||
| 4583 | sub | ||
| 4584 | #line 471 "Parser23.yp" | ||
| 4585 | { | ||
| 4586 | $_[0]->Error("'valuetype' expected.\n"); | ||
| 4587 | $_[0]->YYErrok(); | ||
| 4588 | } | ||
| 4589 | ], | ||
| 4590 | [#Rule 68 | ||
| 4591 | 'value_dcl', 3, | ||
| 4592 | sub | ||
| 4593 | #line 480 "Parser23.yp" | ||
| 4594 | { | ||
| 4595 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4596 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4597 | $_[1]->Configure($_[0], | ||
| 4598 | 'list_decl' => [] | ||
| 4599 | ) if (defined $_[1]); | ||
| 4600 | } | ||
| 4601 | ], | ||
| 4602 | [#Rule 69 | ||
| 4603 | 'value_dcl', 4, | ||
| 4604 | sub | ||
| 4605 | #line 488 "Parser23.yp" | ||
| 4606 | { | ||
| 4607 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4608 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4609 | $_[1]->Configure($_[0], | ||
| 4610 | 'list_decl' => $_[3] | ||
| 4611 | ) if (defined $_[1]); | ||
| 4612 | } | ||
| 4613 | ], | ||
| 4614 | [#Rule 70 | ||
| 4615 | 'value_dcl', 4, | ||
| 4616 | sub | ||
| 4617 | #line 496 "Parser23.yp" | ||
| 4618 | { | ||
| 4619 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4620 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4621 | $_[0]->Error("value_element expected.\n"); | ||
| 4622 | $_[0]->YYErrok(); | ||
| 4623 | $_[1]; | ||
| 4624 | } | ||
| 4625 | ], | ||
| 4626 | [#Rule 71 | ||
| 4627 | 'value_elements', 1, | ||
| 4628 | sub | ||
| 4629 | #line 507 "Parser23.yp" | ||
| 4630 | { | ||
| 4631 | [$_[1]->getRef()]; | ||
| 4632 | } | ||
| 4633 | ], | ||
| 4634 | [#Rule 72 | ||
| 4635 | 'value_elements', 2, | ||
| 4636 | sub | ||
| 4637 | #line 511 "Parser23.yp" | ||
| 4638 | { | ||
| 4639 | unshift @{$_[2]}, $_[1]->getRef(); | ||
| 4640 | $_[2]; | ||
| 4641 | } | ||
| 4642 | ], | ||
| 4643 | [#Rule 73 | ||
| 4644 | 'value_header', 4, | ||
| 4645 | sub | ||
| 4646 | #line 520 "Parser23.yp" | ||
| 4647 | { | ||
| 4648 | new CORBA::IDL::RegularValue($_[0], | ||
| 4649 | 'modifier' => $_[1], | ||
| 4650 | 'idf' => $_[3], | ||
| 4651 | 'inheritance' => $_[4] | ||
| 4652 | ); | ||
| 4653 | } | ||
| 4654 | ], | ||
| 4655 | [#Rule 74 | ||
| 4656 | 'value_header', 3, | ||
| 4657 | sub | ||
| 4658 | #line 528 "Parser23.yp" | ||
| 4659 | { | ||
| 4660 | $_[0]->Error("Identifier expected.\n"); | ||
| 4661 | $_[0]->YYErrok(); | ||
| 4662 | } | ||
| 4663 | ], | ||
| 4664 | [#Rule 75 | ||
| 4665 | 'value_mod', 1, undef | ||
| 4666 | ], | ||
| 4667 | [#Rule 76 | ||
| 4668 | 'value_mod', 0, undef | ||
| 4669 | ], | ||
| 4670 | [#Rule 77 | ||
| 4671 | 'value_inheritance_spec', 4, | ||
| 4672 | sub | ||
| 4673 | #line 544 "Parser23.yp" | ||
| 4674 | { | ||
| 4675 | new CORBA::IDL::InheritanceSpec($_[0], | ||
| 4676 | 'modifier' => $_[2], | ||
| 4677 | 'list_value' => $_[3], | ||
| 4678 | 'list_interface' => $_[4] | ||
| 4679 | ); | ||
| 4680 | } | ||
| 4681 | ], | ||
| 4682 | [#Rule 78 | ||
| 4683 | 'value_inheritance_spec', 3, | ||
| 4684 | sub | ||
| 4685 | #line 552 "Parser23.yp" | ||
| 4686 | { | ||
| 4687 | $_[0]->Error("value_name expected.\n"); | ||
| 4688 | $_[0]->YYErrok(); | ||
| 4689 | } | ||
| 4690 | ], | ||
| 4691 | [#Rule 79 | ||
| 4692 | 'value_inheritance_spec', 1, | ||
| 4693 | sub | ||
| 4694 | #line 557 "Parser23.yp" | ||
| 4695 | { | ||
| 4696 | new CORBA::IDL::InheritanceSpec($_[0], | ||
| 4697 | 'list_interface' => $_[1] | ||
| 4698 | ); | ||
| 4699 | } | ||
| 4700 | ], | ||
| 4701 | [#Rule 80 | ||
| 4702 | 'inheritance_mod', 1, undef | ||
| 4703 | ], | ||
| 4704 | [#Rule 81 | ||
| 4705 | 'inheritance_mod', 0, undef | ||
| 4706 | ], | ||
| 4707 | [#Rule 82 | ||
| 4708 | 'value_names', 1, | ||
| 4709 | sub | ||
| 4710 | #line 573 "Parser23.yp" | ||
| 4711 | { | ||
| 4712 | [$_[1]]; | ||
| 4713 | } | ||
| 4714 | ], | ||
| 4715 | [#Rule 83 | ||
| 4716 | 'value_names', 3, | ||
| 4717 | sub | ||
| 4718 | #line 577 "Parser23.yp" | ||
| 4719 | { | ||
| 4720 | unshift @{$_[3]}, $_[1]; | ||
| 4721 | $_[3]; | ||
| 4722 | } | ||
| 4723 | ], | ||
| 4724 | [#Rule 84 | ||
| 4725 | 'supported_interface_spec', 2, | ||
| 4726 | sub | ||
| 4727 | #line 585 "Parser23.yp" | ||
| 4728 | { | ||
| 4729 | $_[2]; | ||
| 4730 | } | ||
| 4731 | ], | ||
| 4732 | [#Rule 85 | ||
| 4733 | 'supported_interface_spec', 2, | ||
| 4734 | sub | ||
| 4735 | #line 589 "Parser23.yp" | ||
| 4736 | { | ||
| 4737 | $_[0]->Error("Interface name expected.\n"); | ||
| 4738 | $_[0]->YYErrok(); | ||
| 4739 | } | ||
| 4740 | ], | ||
| 4741 | [#Rule 86 | ||
| 4742 | 'supported_interface_spec', 0, undef | ||
| 4743 | ], | ||
| 4744 | [#Rule 87 | ||
| 4745 | 'value_name', 1, | ||
| 4746 | sub | ||
| 4747 | #line 600 "Parser23.yp" | ||
| 4748 | { | ||
| 4749 | CORBA::IDL::Value->Lookup($_[0], $_[1]); | ||
| 4750 | } | ||
| 4751 | ], | ||
| 4752 | [#Rule 88 | ||
| 4753 | 'value_element', 1, undef | ||
| 4754 | ], | ||
| 4755 | [#Rule 89 | ||
| 4756 | 'value_element', 1, undef | ||
| 4757 | ], | ||
| 4758 | [#Rule 90 | ||
| 4759 | 'value_element', 1, undef | ||
| 4760 | ], | ||
| 4761 | [#Rule 91 | ||
| 4762 | 'state_member', 4, | ||
| 4763 | sub | ||
| 4764 | #line 618 "Parser23.yp" | ||
| 4765 | { | ||
| 4766 | new CORBA::IDL::StateMembers($_[0], | ||
| 4767 | 'modifier' => $_[1], | ||
| 4768 | 'type' => $_[2], | ||
| 4769 | 'list_expr' => $_[3] | ||
| 4770 | ); | ||
| 4771 | } | ||
| 4772 | ], | ||
| 4773 | [#Rule 92 | ||
| 4774 | 'state_member', 4, | ||
| 4775 | sub | ||
| 4776 | #line 626 "Parser23.yp" | ||
| 4777 | { | ||
| 4778 | $_[0]->Error("Identifier expected.\n"); | ||
| 4779 | $_[0]->YYErrok(); | ||
| 4780 | } | ||
| 4781 | ], | ||
| 4782 | [#Rule 93 | ||
| 4783 | 'state_member', 3, | ||
| 4784 | sub | ||
| 4785 | #line 631 "Parser23.yp" | ||
| 4786 | { | ||
| 4787 | $_[0]->Error("type_spec expected.\n"); | ||
| 4788 | $_[0]->YYErrok(); | ||
| 4789 | } | ||
| 4790 | ], | ||
| 4791 | [#Rule 94 | ||
| 4792 | 'state_mod', 1, undef | ||
| 4793 | ], | ||
| 4794 | [#Rule 95 | ||
| 4795 | 'state_mod', 1, undef | ||
| 4796 | ], | ||
| 4797 | [#Rule 96 | ||
| 4798 | 'init_dcl', 2, undef | ||
| 4799 | ], | ||
| 4800 | [#Rule 97 | ||
| 4801 | 'init_header_param', 3, | ||
| 4802 | sub | ||
| 4803 | #line 652 "Parser23.yp" | ||
| 4804 | { | ||
| 4805 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 4806 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 4807 | $_[1]; #default action | ||
| 4808 | } | ||
| 4809 | ], | ||
| 4810 | [#Rule 98 | ||
| 4811 | 'init_header_param', 4, | ||
| 4812 | sub | ||
| 4813 | #line 658 "Parser23.yp" | ||
| 4814 | { | ||
| 4815 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 4816 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 4817 | $_[1]->Configure($_[0], | ||
| 4818 | 'list_param' => $_[3] | ||
| 4819 | ) if (defined $_[1]); | ||
| 4820 | } | ||
| 4821 | ], | ||
| 4822 | [#Rule 99 | ||
| 4823 | 'init_header_param', 4, | ||
| 4824 | sub | ||
| 4825 | #line 666 "Parser23.yp" | ||
| 4826 | { | ||
| 4827 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 4828 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 4829 | $_[0]->Error("init_param_decls expected.\n"); | ||
| 4830 | $_[0]->YYErrok(); | ||
| 4831 | $_[1]; | ||
| 4832 | } | ||
| 4833 | ], | ||
| 4834 | [#Rule 100 | ||
| 4835 | 'init_header_param', 2, | ||
| 4836 | sub | ||
| 4837 | #line 674 "Parser23.yp" | ||
| 4838 | { | ||
| 4839 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 4840 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 4841 | $_[0]->Error("'(' expected.\n"); | ||
| 4842 | $_[0]->YYErrok(); | ||
| 4843 | $_[1]; | ||
| 4844 | } | ||
| 4845 | ], | ||
| 4846 | [#Rule 101 | ||
| 4847 | 'init_header', 2, | ||
| 4848 | sub | ||
| 4849 | #line 685 "Parser23.yp" | ||
| 4850 | { | ||
| 4851 | new CORBA::IDL::Initializer($_[0], # like Operation | ||
| 4852 | 'idf' => $_[2] | ||
| 4853 | ); | ||
| 4854 | } | ||
| 4855 | ], | ||
| 4856 | [#Rule 102 | ||
| 4857 | 'init_header', 2, | ||
| 4858 | sub | ||
| 4859 | #line 691 "Parser23.yp" | ||
| 4860 | { | ||
| 4861 | $_[0]->Error("Identifier expected.\n"); | ||
| 4862 | $_[0]->YYErrok(); | ||
| 4863 | } | ||
| 4864 | ], | ||
| 4865 | [#Rule 103 | ||
| 4866 | 'init_param_decls', 1, | ||
| 4867 | sub | ||
| 4868 | #line 700 "Parser23.yp" | ||
| 4869 | { | ||
| 4870 | [$_[1]]; | ||
| 4871 | } | ||
| 4872 | ], | ||
| 4873 | [#Rule 104 | ||
| 4874 | 'init_param_decls', 3, | ||
| 4875 | sub | ||
| 4876 | #line 704 "Parser23.yp" | ||
| 4877 | { | ||
| 4878 | unshift @{$_[3]}, $_[1]; | ||
| 4879 | $_[3]; | ||
| 4880 | } | ||
| 4881 | ], | ||
| 4882 | [#Rule 105 | ||
| 4883 | 'init_param_decl', 3, | ||
| 4884 | sub | ||
| 4885 | #line 713 "Parser23.yp" | ||
| 4886 | { | ||
| 4887 | new CORBA::IDL::Parameter($_[0], | ||
| 4888 | 'attr' => $_[1], | ||
| 4889 | 'type' => $_[2], | ||
| 4890 | 'idf' => $_[3] | ||
| 4891 | ); | ||
| 4892 | } | ||
| 4893 | ], | ||
| 4894 | [#Rule 106 | ||
| 4895 | 'init_param_decl', 2, | ||
| 4896 | sub | ||
| 4897 | #line 721 "Parser23.yp" | ||
| 4898 | { | ||
| 4899 | $_[0]->Error("Type expected.\n"); | ||
| 4900 | $_[0]->YYErrok(); | ||
| 4901 | } | ||
| 4902 | ], | ||
| 4903 | [#Rule 107 | ||
| 4904 | 'init_param_attribute', 1, undef | ||
| 4905 | ], | ||
| 4906 | [#Rule 108 | ||
| 4907 | 'const_dcl', 5, | ||
| 4908 | sub | ||
| 4909 | #line 736 "Parser23.yp" | ||
| 4910 | { | ||
| 4911 | new CORBA::IDL::Constant($_[0], | ||
| 4912 | 'type' => $_[2], | ||
| 4913 | 'idf' => $_[3], | ||
| 4914 | 'list_expr' => $_[5] | ||
| 4915 | ); | ||
| 4916 | } | ||
| 4917 | ], | ||
| 4918 | [#Rule 109 | ||
| 4919 | 'const_dcl', 5, | ||
| 4920 | sub | ||
| 4921 | #line 744 "Parser23.yp" | ||
| 4922 | { | ||
| 4923 | $_[0]->Error("Expression expected.\n"); | ||
| 4924 | $_[0]->YYErrok(); | ||
| 4925 | } | ||
| 4926 | ], | ||
| 4927 | [#Rule 110 | ||
| 4928 | 'const_dcl', 4, | ||
| 4929 | sub | ||
| 4930 | #line 749 "Parser23.yp" | ||
| 4931 | { | ||
| 4932 | $_[0]->Error("'=' expected.\n"); | ||
| 4933 | $_[0]->YYErrok(); | ||
| 4934 | } | ||
| 4935 | ], | ||
| 4936 | [#Rule 111 | ||
| 4937 | 'const_dcl', 3, | ||
| 4938 | sub | ||
| 4939 | #line 754 "Parser23.yp" | ||
| 4940 | { | ||
| 4941 | $_[0]->Error("Identifier expected.\n"); | ||
| 4942 | $_[0]->YYErrok(); | ||
| 4943 | } | ||
| 4944 | ], | ||
| 4945 | [#Rule 112 | ||
| 4946 | 'const_dcl', 2, | ||
| 4947 | sub | ||
| 4948 | #line 759 "Parser23.yp" | ||
| 4949 | { | ||
| 4950 | $_[0]->Error("const_type expected.\n"); | ||
| 4951 | $_[0]->YYErrok(); | ||
| 4952 | } | ||
| 4953 | ], | ||
| 4954 | [#Rule 113 | ||
| 4955 | 'const_type', 1, undef | ||
| 4956 | ], | ||
| 4957 | [#Rule 114 | ||
| 4958 | 'const_type', 1, undef | ||
| 4959 | ], | ||
| 4960 | [#Rule 115 | ||
| 4961 | 'const_type', 1, undef | ||
| 4962 | ], | ||
| 4963 | [#Rule 116 | ||
| 4964 | 'const_type', 1, undef | ||
| 4965 | ], | ||
| 4966 | [#Rule 117 | ||
| 4967 | 'const_type', 1, undef | ||
| 4968 | ], | ||
| 4969 | [#Rule 118 | ||
| 4970 | 'const_type', 1, undef | ||
| 4971 | ], | ||
| 4972 | [#Rule 119 | ||
| 4973 | 'const_type', 1, undef | ||
| 4974 | ], | ||
| 4975 | [#Rule 120 | ||
| 4976 | 'const_type', 1, undef | ||
| 4977 | ], | ||
| 4978 | [#Rule 121 | ||
| 4979 | 'const_type', 1, | ||
| 4980 | sub | ||
| 4981 | #line 784 "Parser23.yp" | ||
| 4982 | { | ||
| 4983 | CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]); | ||
| 4984 | } | ||
| 4985 | ], | ||
| 4986 | [#Rule 122 | ||
| 4987 | 'const_type', 1, undef | ||
| 4988 | ], | ||
| 4989 | [#Rule 123 | ||
| 4990 | 'const_exp', 1, undef | ||
| 4991 | ], | ||
| 4992 | [#Rule 124 | ||
| 4993 | 'or_expr', 1, undef | ||
| 4994 | ], | ||
| 4995 | [#Rule 125 | ||
| 4996 | 'or_expr', 3, | ||
| 4997 | sub | ||
| 4998 | #line 802 "Parser23.yp" | ||
| 4999 | { | ||
| 5000 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5001 | } | ||
| 5002 | ], | ||
| 5003 | [#Rule 126 | ||
| 5004 | 'xor_expr', 1, undef | ||
| 5005 | ], | ||
| 5006 | [#Rule 127 | ||
| 5007 | 'xor_expr', 3, | ||
| 5008 | sub | ||
| 5009 | #line 812 "Parser23.yp" | ||
| 5010 | { | ||
| 5011 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5012 | } | ||
| 5013 | ], | ||
| 5014 | [#Rule 128 | ||
| 5015 | 'and_expr', 1, undef | ||
| 5016 | ], | ||
| 5017 | [#Rule 129 | ||
| 5018 | 'and_expr', 3, | ||
| 5019 | sub | ||
| 5020 | #line 822 "Parser23.yp" | ||
| 5021 | { | ||
| 5022 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5023 | } | ||
| 5024 | ], | ||
| 5025 | [#Rule 130 | ||
| 5026 | 'shift_expr', 1, undef | ||
| 5027 | ], | ||
| 5028 | [#Rule 131 | ||
| 5029 | 'shift_expr', 3, | ||
| 5030 | sub | ||
| 5031 | #line 832 "Parser23.yp" | ||
| 5032 | { | ||
| 5033 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5034 | } | ||
| 5035 | ], | ||
| 5036 | [#Rule 132 | ||
| 5037 | 'shift_expr', 3, | ||
| 5038 | sub | ||
| 5039 | #line 836 "Parser23.yp" | ||
| 5040 | { | ||
| 5041 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5042 | } | ||
| 5043 | ], | ||
| 5044 | [#Rule 133 | ||
| 5045 | 'add_expr', 1, undef | ||
| 5046 | ], | ||
| 5047 | [#Rule 134 | ||
| 5048 | 'add_expr', 3, | ||
| 5049 | sub | ||
| 5050 | #line 846 "Parser23.yp" | ||
| 5051 | { | ||
| 5052 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5053 | } | ||
| 5054 | ], | ||
| 5055 | [#Rule 135 | ||
| 5056 | 'add_expr', 3, | ||
| 5057 | sub | ||
| 5058 | #line 850 "Parser23.yp" | ||
| 5059 | { | ||
| 5060 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5061 | } | ||
| 5062 | ], | ||
| 5063 | [#Rule 136 | ||
| 5064 | 'mult_expr', 1, undef | ||
| 5065 | ], | ||
| 5066 | [#Rule 137 | ||
| 5067 | 'mult_expr', 3, | ||
| 5068 | sub | ||
| 5069 | #line 860 "Parser23.yp" | ||
| 5070 | { | ||
| 5071 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5072 | } | ||
| 5073 | ], | ||
| 5074 | [#Rule 138 | ||
| 5075 | 'mult_expr', 3, | ||
| 5076 | sub | ||
| 5077 | #line 864 "Parser23.yp" | ||
| 5078 | { | ||
| 5079 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5080 | } | ||
| 5081 | ], | ||
| 5082 | [#Rule 139 | ||
| 5083 | 'mult_expr', 3, | ||
| 5084 | sub | ||
| 5085 | #line 868 "Parser23.yp" | ||
| 5086 | { | ||
| 5087 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5088 | } | ||
| 5089 | ], | ||
| 5090 | [#Rule 140 | ||
| 5091 | 'unary_expr', 2, | ||
| 5092 | sub | ||
| 5093 | #line 876 "Parser23.yp" | ||
| 5094 | { | ||
| 5095 | BuildUnop($_[1], $_[2]); | ||
| 5096 | } | ||
| 5097 | ], | ||
| 5098 | [#Rule 141 | ||
| 5099 | 'unary_expr', 1, undef | ||
| 5100 | ], | ||
| 5101 | [#Rule 142 | ||
| 5102 | 'unary_operator', 1, undef | ||
| 5103 | ], | ||
| 5104 | [#Rule 143 | ||
| 5105 | 'unary_operator', 1, undef | ||
| 5106 | ], | ||
| 5107 | [#Rule 144 | ||
| 5108 | 'unary_operator', 1, undef | ||
| 5109 | ], | ||
| 5110 | [#Rule 145 | ||
| 5111 | 'primary_expr', 1, | ||
| 5112 | sub | ||
| 5113 | #line 896 "Parser23.yp" | ||
| 5114 | { | ||
| 5115 | [ | ||
| 5116 | CORBA::IDL::Constant->Lookup($_[0], $_[1]) | ||
| 5117 | ]; | ||
| 5118 | } | ||
| 5119 | ], | ||
| 5120 | [#Rule 146 | ||
| 5121 | 'primary_expr', 1, | ||
| 5122 | sub | ||
| 5123 | #line 902 "Parser23.yp" | ||
| 5124 | { | ||
| 5125 | [ $_[1] ]; | ||
| 5126 | } | ||
| 5127 | ], | ||
| 5128 | [#Rule 147 | ||
| 5129 | 'primary_expr', 3, | ||
| 5130 | sub | ||
| 5131 | #line 906 "Parser23.yp" | ||
| 5132 | { | ||
| 5133 | $_[2]; | ||
| 5134 | } | ||
| 5135 | ], | ||
| 5136 | [#Rule 148 | ||
| 5137 | 'primary_expr', 3, | ||
| 5138 | sub | ||
| 5139 | #line 910 "Parser23.yp" | ||
| 5140 | { | ||
| 5141 | $_[0]->Error("Expression expected.\n"); | ||
| 5142 | $_[0]->YYErrok(); | ||
| 5143 | } | ||
| 5144 | ], | ||
| 5145 | [#Rule 149 | ||
| 5146 | 'literal', 1, | ||
| 5147 | sub | ||
| 5148 | #line 919 "Parser23.yp" | ||
| 5149 | { | ||
| 5150 | new CORBA::IDL::IntegerLiteral($_[0], | ||
| 5151 | 'value' => $_[1], | ||
| 5152 | 'lexeme' => $_[0]->YYData->{lexeme} | ||
| 5153 | ); | ||
| 5154 | } | ||
| 5155 | ], | ||
| 5156 | [#Rule 150 | ||
| 5157 | 'literal', 1, | ||
| 5158 | sub | ||
| 5159 | #line 926 "Parser23.yp" | ||
| 5160 | { | ||
| 5161 | new CORBA::IDL::StringLiteral($_[0], | ||
| 5162 | 'value' => $_[1] | ||
| 5163 | ); | ||
| 5164 | } | ||
| 5165 | ], | ||
| 5166 | [#Rule 151 | ||
| 5167 | 'literal', 1, | ||
| 5168 | sub | ||
| 5169 | #line 932 "Parser23.yp" | ||
| 5170 | { | ||
| 5171 | new CORBA::IDL::WideStringLiteral($_[0], | ||
| 5172 | 'value' => $_[1] | ||
| 5173 | ); | ||
| 5174 | } | ||
| 5175 | ], | ||
| 5176 | [#Rule 152 | ||
| 5177 | 'literal', 1, | ||
| 5178 | sub | ||
| 5179 | #line 938 "Parser23.yp" | ||
| 5180 | { | ||
| 5181 | new CORBA::IDL::CharacterLiteral($_[0], | ||
| 5182 | 'value' => $_[1] | ||
| 5183 | ); | ||
| 5184 | } | ||
| 5185 | ], | ||
| 5186 | [#Rule 153 | ||
| 5187 | 'literal', 1, | ||
| 5188 | sub | ||
| 5189 | #line 944 "Parser23.yp" | ||
| 5190 | { | ||
| 5191 | new CORBA::IDL::WideCharacterLiteral($_[0], | ||
| 5192 | 'value' => $_[1] | ||
| 5193 | ); | ||
| 5194 | } | ||
| 5195 | ], | ||
| 5196 | [#Rule 154 | ||
| 5197 | 'literal', 1, | ||
| 5198 | sub | ||
| 5199 | #line 950 "Parser23.yp" | ||
| 5200 | { | ||
| 5201 | new CORBA::IDL::FixedPtLiteral($_[0], | ||
| 5202 | 'value' => $_[1], | ||
| 5203 | 'lexeme' => $_[0]->YYData->{lexeme} | ||
| 5204 | ); | ||
| 5205 | } | ||
| 5206 | ], | ||
| 5207 | [#Rule 155 | ||
| 5208 | 'literal', 1, | ||
| 5209 | sub | ||
| 5210 | #line 957 "Parser23.yp" | ||
| 5211 | { | ||
| 5212 | new CORBA::IDL::FloatingPtLiteral($_[0], | ||
| 5213 | 'value' => $_[1], | ||
| 5214 | 'lexeme' => $_[0]->YYData->{lexeme} | ||
| 5215 | ); | ||
| 5216 | } | ||
| 5217 | ], | ||
| 5218 | [#Rule 156 | ||
| 5219 | 'literal', 1, undef | ||
| 5220 | ], | ||
| 5221 | [#Rule 157 | ||
| 5222 | 'string_literal', 1, undef | ||
| 5223 | ], | ||
| 5224 | [#Rule 158 | ||
| 5225 | 'string_literal', 2, | ||
| 5226 | sub | ||
| 5227 | #line 971 "Parser23.yp" | ||
| 5228 | { | ||
| 5229 | $_[1] . $_[2]; | ||
| 5230 | } | ||
| 5231 | ], | ||
| 5232 | [#Rule 159 | ||
| 5233 | 'wide_string_literal', 1, undef | ||
| 5234 | ], | ||
| 5235 | [#Rule 160 | ||
| 5236 | 'wide_string_literal', 2, | ||
| 5237 | sub | ||
| 5238 | #line 980 "Parser23.yp" | ||
| 5239 | { | ||
| 5240 | $_[1] . $_[2]; | ||
| 5241 | } | ||
| 5242 | ], | ||
| 5243 | [#Rule 161 | ||
| 5244 | 'boolean_literal', 1, | ||
| 5245 | sub | ||
| 5246 | #line 988 "Parser23.yp" | ||
| 5247 | { | ||
| 5248 | new CORBA::IDL::BooleanLiteral($_[0], | ||
| 5249 | 'value' => $_[1] | ||
| 5250 | ); | ||
| 5251 | } | ||
| 5252 | ], | ||
| 5253 | [#Rule 162 | ||
| 5254 | 'boolean_literal', 1, | ||
| 5255 | sub | ||
| 5256 | #line 994 "Parser23.yp" | ||
| 5257 | { | ||
| 5258 | new CORBA::IDL::BooleanLiteral($_[0], | ||
| 5259 | 'value' => $_[1] | ||
| 5260 | ); | ||
| 5261 | } | ||
| 5262 | ], | ||
| 5263 | [#Rule 163 | ||
| 5264 | 'positive_int_const', 1, | ||
| 5265 | sub | ||
| 5266 | #line 1004 "Parser23.yp" | ||
| 5267 | { | ||
| 5268 | new CORBA::IDL::Expression($_[0], | ||
| 5269 | 'list_expr' => $_[1] | ||
| 5270 | ); | ||
| 5271 | } | ||
| 5272 | ], | ||
| 5273 | [#Rule 164 | ||
| 5274 | 'type_dcl', 2, | ||
| 5275 | sub | ||
| 5276 | #line 1014 "Parser23.yp" | ||
| 5277 | { | ||
| 5278 | $_[2]; | ||
| 5279 | } | ||
| 5280 | ], | ||
| 5281 | [#Rule 165 | ||
| 5282 | 'type_dcl', 1, undef | ||
| 5283 | ], | ||
| 5284 | [#Rule 166 | ||
| 5285 | 'type_dcl', 1, undef | ||
| 5286 | ], | ||
| 5287 | [#Rule 167 | ||
| 5288 | 'type_dcl', 1, undef | ||
| 5289 | ], | ||
| 5290 | [#Rule 168 | ||
| 5291 | 'type_dcl', 2, | ||
| 5292 | sub | ||
| 5293 | #line 1024 "Parser23.yp" | ||
| 5294 | { | ||
| 5295 | new CORBA::IDL::NativeType($_[0], | ||
| 5296 | 'idf' => $_[2] | ||
| 5297 | ); | ||
| 5298 | } | ||
| 5299 | ], | ||
| 5300 | [#Rule 169 | ||
| 5301 | 'type_dcl', 2, | ||
| 5302 | sub | ||
| 5303 | #line 1030 "Parser23.yp" | ||
| 5304 | { | ||
| 5305 | $_[0]->Error("type_declarator expected.\n"); | ||
| 5306 | $_[0]->YYErrok(); | ||
| 5307 | } | ||
| 5308 | ], | ||
| 5309 | [#Rule 170 | ||
| 5310 | 'type_declarator', 2, | ||
| 5311 | sub | ||
| 5312 | #line 1039 "Parser23.yp" | ||
| 5313 | { | ||
| 5314 | new CORBA::IDL::TypeDeclarators($_[0], | ||
| 5315 | 'type' => $_[1], | ||
| 5316 | 'list_expr' => $_[2] | ||
| 5317 | ); | ||
| 5318 | } | ||
| 5319 | ], | ||
| 5320 | [#Rule 171 | ||
| 5321 | 'type_spec', 1, undef | ||
| 5322 | ], | ||
| 5323 | [#Rule 172 | ||
| 5324 | 'type_spec', 1, undef | ||
| 5325 | ], | ||
| 5326 | [#Rule 173 | ||
| 5327 | 'simple_type_spec', 1, undef | ||
| 5328 | ], | ||
| 5329 | [#Rule 174 | ||
| 5330 | 'simple_type_spec', 1, undef | ||
| 5331 | ], | ||
| 5332 | [#Rule 175 | ||
| 5333 | 'simple_type_spec', 1, | ||
| 5334 | sub | ||
| 5335 | #line 1062 "Parser23.yp" | ||
| 5336 | { | ||
| 5337 | CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]); | ||
| 5338 | } | ||
| 5339 | ], | ||
| 5340 | [#Rule 176 | ||
| 5341 | 'simple_type_spec', 1, | ||
| 5342 | sub | ||
| 5343 | #line 1066 "Parser23.yp" | ||
| 5344 | { | ||
| 5345 | $_[0]->Error("simple_type_spec expected.\n"); | ||
| 5346 | new CORBA::IDL::VoidType($_[0], | ||
| 5347 | 'value' => $_[1] | ||
| 5348 | ); | ||
| 5349 | } | ||
| 5350 | ], | ||
| 5351 | [#Rule 177 | ||
| 5352 | 'base_type_spec', 1, undef | ||
| 5353 | ], | ||
| 5354 | [#Rule 178 | ||
| 5355 | 'base_type_spec', 1, undef | ||
| 5356 | ], | ||
| 5357 | [#Rule 179 | ||
| 5358 | 'base_type_spec', 1, undef | ||
| 5359 | ], | ||
| 5360 | [#Rule 180 | ||
| 5361 | 'base_type_spec', 1, undef | ||
| 5362 | ], | ||
| 5363 | [#Rule 181 | ||
| 5364 | 'base_type_spec', 1, undef | ||
| 5365 | ], | ||
| 5366 | [#Rule 182 | ||
| 5367 | 'base_type_spec', 1, undef | ||
| 5368 | ], | ||
| 5369 | [#Rule 183 | ||
| 5370 | 'base_type_spec', 1, undef | ||
| 5371 | ], | ||
| 5372 | [#Rule 184 | ||
| 5373 | 'base_type_spec', 1, undef | ||
| 5374 | ], | ||
| 5375 | [#Rule 185 | ||
| 5376 | 'base_type_spec', 1, undef | ||
| 5377 | ], | ||
| 5378 | [#Rule 186 | ||
| 5379 | 'template_type_spec', 1, undef | ||
| 5380 | ], | ||
| 5381 | [#Rule 187 | ||
| 5382 | 'template_type_spec', 1, undef | ||
| 5383 | ], | ||
| 5384 | [#Rule 188 | ||
| 5385 | 'template_type_spec', 1, undef | ||
| 5386 | ], | ||
| 5387 | [#Rule 189 | ||
| 5388 | 'template_type_spec', 1, undef | ||
| 5389 | ], | ||
| 5390 | [#Rule 190 | ||
| 5391 | 'constr_type_spec', 1, undef | ||
| 5392 | ], | ||
| 5393 | [#Rule 191 | ||
| 5394 | 'constr_type_spec', 1, undef | ||
| 5395 | ], | ||
| 5396 | [#Rule 192 | ||
| 5397 | 'constr_type_spec', 1, undef | ||
| 5398 | ], | ||
| 5399 | [#Rule 193 | ||
| 5400 | 'declarators', 1, | ||
| 5401 | sub | ||
| 5402 | #line 1121 "Parser23.yp" | ||
| 5403 | { | ||
| 5404 | [$_[1]]; | ||
| 5405 | } | ||
| 5406 | ], | ||
| 5407 | [#Rule 194 | ||
| 5408 | 'declarators', 3, | ||
| 5409 | sub | ||
| 5410 | #line 1125 "Parser23.yp" | ||
| 5411 | { | ||
| 5412 | unshift @{$_[3]}, $_[1]; | ||
| 5413 | $_[3]; | ||
| 5414 | } | ||
| 5415 | ], | ||
| 5416 | [#Rule 195 | ||
| 5417 | 'declarator', 1, | ||
| 5418 | sub | ||
| 5419 | #line 1134 "Parser23.yp" | ||
| 5420 | { | ||
| 5421 | [$_[1]]; | ||
| 5422 | } | ||
| 5423 | ], | ||
| 5424 | [#Rule 196 | ||
| 5425 | 'declarator', 1, undef | ||
| 5426 | ], | ||
| 5427 | [#Rule 197 | ||
| 5428 | 'simple_declarator', 1, undef | ||
| 5429 | ], | ||
| 5430 | [#Rule 198 | ||
| 5431 | 'simple_declarator', 2, | ||
| 5432 | sub | ||
| 5433 | #line 1146 "Parser23.yp" | ||
| 5434 | { | ||
| 5435 | $_[0]->Error("Identifier expected.\n"); | ||
| 5436 | $_[0]->YYErrok(); | ||
| 5437 | } | ||
| 5438 | ], | ||
| 5439 | [#Rule 199 | ||
| 5440 | 'simple_declarator', 2, | ||
| 5441 | sub | ||
| 5442 | #line 1151 "Parser23.yp" | ||
| 5443 | { | ||
| 5444 | $_[0]->Error("Identifier expected.\n"); | ||
| 5445 | $_[0]->YYErrok(); | ||
| 5446 | } | ||
| 5447 | ], | ||
| 5448 | [#Rule 200 | ||
| 5449 | 'complex_declarator', 1, undef | ||
| 5450 | ], | ||
| 5451 | [#Rule 201 | ||
| 5452 | 'floating_pt_type', 1, | ||
| 5453 | sub | ||
| 5454 | #line 1166 "Parser23.yp" | ||
| 5455 | { | ||
| 5456 | new CORBA::IDL::FloatingPtType($_[0], | ||
| 5457 | 'value' => $_[1] | ||
| 5458 | ); | ||
| 5459 | } | ||
| 5460 | ], | ||
| 5461 | [#Rule 202 | ||
| 5462 | 'floating_pt_type', 1, | ||
| 5463 | sub | ||
| 5464 | #line 1172 "Parser23.yp" | ||
| 5465 | { | ||
| 5466 | new CORBA::IDL::FloatingPtType($_[0], | ||
| 5467 | 'value' => $_[1] | ||
| 5468 | ); | ||
| 5469 | } | ||
| 5470 | ], | ||
| 5471 | [#Rule 203 | ||
| 5472 | 'floating_pt_type', 2, | ||
| 5473 | sub | ||
| 5474 | #line 1178 "Parser23.yp" | ||
| 5475 | { | ||
| 5476 | new CORBA::IDL::FloatingPtType($_[0], | ||
| 5477 | 'value' => $_[1] . q{ } . $_[2] | ||
| 5478 | ); | ||
| 5479 | } | ||
| 5480 | ], | ||
| 5481 | [#Rule 204 | ||
| 5482 | 'integer_type', 1, undef | ||
| 5483 | ], | ||
| 5484 | [#Rule 205 | ||
| 5485 | 'integer_type', 1, undef | ||
| 5486 | ], | ||
| 5487 | [#Rule 206 | ||
| 5488 | 'signed_int', 1, undef | ||
| 5489 | ], | ||
| 5490 | [#Rule 207 | ||
| 5491 | 'signed_int', 1, undef | ||
| 5492 | ], | ||
| 5493 | [#Rule 208 | ||
| 5494 | 'signed_int', 1, undef | ||
| 5495 | ], | ||
| 5496 | [#Rule 209 | ||
| 5497 | 'signed_short_int', 1, | ||
| 5498 | sub | ||
| 5499 | #line 1206 "Parser23.yp" | ||
| 5500 | { | ||
| 5501 | new CORBA::IDL::IntegerType($_[0], | ||
| 5502 | 'value' => $_[1] | ||
| 5503 | ); | ||
| 5504 | } | ||
| 5505 | ], | ||
| 5506 | [#Rule 210 | ||
| 5507 | 'signed_long_int', 1, | ||
| 5508 | sub | ||
| 5509 | #line 1216 "Parser23.yp" | ||
| 5510 | { | ||
| 5511 | new CORBA::IDL::IntegerType($_[0], | ||
| 5512 | 'value' => $_[1] | ||
| 5513 | ); | ||
| 5514 | } | ||
| 5515 | ], | ||
| 5516 | [#Rule 211 | ||
| 5517 | 'signed_longlong_int', 2, | ||
| 5518 | sub | ||
| 5519 | #line 1226 "Parser23.yp" | ||
| 5520 | { | ||
| 5521 | new CORBA::IDL::IntegerType($_[0], | ||
| 5522 | 'value' => $_[1] . q{ } . $_[2] | ||
| 5523 | ); | ||
| 5524 | } | ||
| 5525 | ], | ||
| 5526 | [#Rule 212 | ||
| 5527 | 'unsigned_int', 1, undef | ||
| 5528 | ], | ||
| 5529 | [#Rule 213 | ||
| 5530 | 'unsigned_int', 1, undef | ||
| 5531 | ], | ||
| 5532 | [#Rule 214 | ||
| 5533 | 'unsigned_int', 1, undef | ||
| 5534 | ], | ||
| 5535 | [#Rule 215 | ||
| 5536 | 'unsigned_short_int', 2, | ||
| 5537 | sub | ||
| 5538 | #line 1246 "Parser23.yp" | ||
| 5539 | { | ||
| 5540 | new CORBA::IDL::IntegerType($_[0], | ||
| 5541 | 'value' => $_[1] . q{ } . $_[2] | ||
| 5542 | ); | ||
| 5543 | } | ||
| 5544 | ], | ||
| 5545 | [#Rule 216 | ||
| 5546 | 'unsigned_long_int', 2, | ||
| 5547 | sub | ||
| 5548 | #line 1256 "Parser23.yp" | ||
| 5549 | { | ||
| 5550 | new CORBA::IDL::IntegerType($_[0], | ||
| 5551 | 'value' => $_[1] . q{ } . $_[2] | ||
| 5552 | ); | ||
| 5553 | } | ||
| 5554 | ], | ||
| 5555 | [#Rule 217 | ||
| 5556 | 'unsigned_longlong_int', 3, | ||
| 5557 | sub | ||
| 5558 | #line 1266 "Parser23.yp" | ||
| 5559 | { | ||
| 5560 | new CORBA::IDL::IntegerType($_[0], | ||
| 5561 | 'value' => $_[1] . q{ } . $_[2] . q{ } . $_[3] | ||
| 5562 | ); | ||
| 5563 | } | ||
| 5564 | ], | ||
| 5565 | [#Rule 218 | ||
| 5566 | 'char_type', 1, | ||
| 5567 | sub | ||
| 5568 | #line 1276 "Parser23.yp" | ||
| 5569 | { | ||
| 5570 | new CORBA::IDL::CharType($_[0], | ||
| 5571 | 'value' => $_[1] | ||
| 5572 | ); | ||
| 5573 | } | ||
| 5574 | ], | ||
| 5575 | [#Rule 219 | ||
| 5576 | 'wide_char_type', 1, | ||
| 5577 | sub | ||
| 5578 | #line 1286 "Parser23.yp" | ||
| 5579 | { | ||
| 5580 | new CORBA::IDL::WideCharType($_[0], | ||
| 5581 | 'value' => $_[1] | ||
| 5582 | ); | ||
| 5583 | } | ||
| 5584 | ], | ||
| 5585 | [#Rule 220 | ||
| 5586 | 'boolean_type', 1, | ||
| 5587 | sub | ||
| 5588 | #line 1296 "Parser23.yp" | ||
| 5589 | { | ||
| 5590 | new CORBA::IDL::BooleanType($_[0], | ||
| 5591 | 'value' => $_[1] | ||
| 5592 | ); | ||
| 5593 | } | ||
| 5594 | ], | ||
| 5595 | [#Rule 221 | ||
| 5596 | 'octet_type', 1, | ||
| 5597 | sub | ||
| 5598 | #line 1306 "Parser23.yp" | ||
| 5599 | { | ||
| 5600 | new CORBA::IDL::OctetType($_[0], | ||
| 5601 | 'value' => $_[1] | ||
| 5602 | ); | ||
| 5603 | } | ||
| 5604 | ], | ||
| 5605 | [#Rule 222 | ||
| 5606 | 'any_type', 1, | ||
| 5607 | sub | ||
| 5608 | #line 1316 "Parser23.yp" | ||
| 5609 | { | ||
| 5610 | new CORBA::IDL::AnyType($_[0], | ||
| 5611 | 'value' => $_[1] | ||
| 5612 | ); | ||
| 5613 | } | ||
| 5614 | ], | ||
| 5615 | [#Rule 223 | ||
| 5616 | 'object_type', 1, | ||
| 5617 | sub | ||
| 5618 | #line 1326 "Parser23.yp" | ||
| 5619 | { | ||
| 5620 | new CORBA::IDL::ObjectType($_[0], | ||
| 5621 | 'value' => $_[1] | ||
| 5622 | ); | ||
| 5623 | } | ||
| 5624 | ], | ||
| 5625 | [#Rule 224 | ||
| 5626 | 'struct_type', 4, | ||
| 5627 | sub | ||
| 5628 | #line 1336 "Parser23.yp" | ||
| 5629 | { | ||
| 5630 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5631 | $_[1]->Configure($_[0], | ||
| 5632 | 'list_expr' => $_[3] | ||
| 5633 | ) if (defined $_[1]); | ||
| 5634 | } | ||
| 5635 | ], | ||
| 5636 | [#Rule 225 | ||
| 5637 | 'struct_type', 4, | ||
| 5638 | sub | ||
| 5639 | #line 1343 "Parser23.yp" | ||
| 5640 | { | ||
| 5641 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5642 | $_[0]->Error("member expected.\n"); | ||
| 5643 | $_[0]->YYErrok(); | ||
| 5644 | $_[1]; | ||
| 5645 | } | ||
| 5646 | ], | ||
| 5647 | [#Rule 226 | ||
| 5648 | 'struct_header', 2, | ||
| 5649 | sub | ||
| 5650 | #line 1353 "Parser23.yp" | ||
| 5651 | { | ||
| 5652 | new CORBA::IDL::StructType($_[0], | ||
| 5653 | 'idf' => $_[2] | ||
| 5654 | ); | ||
| 5655 | } | ||
| 5656 | ], | ||
| 5657 | [#Rule 227 | ||
| 5658 | 'struct_header', 2, | ||
| 5659 | sub | ||
| 5660 | #line 1359 "Parser23.yp" | ||
| 5661 | { | ||
| 5662 | $_[0]->Error("Identifier expected.\n"); | ||
| 5663 | $_[0]->YYErrok(); | ||
| 5664 | } | ||
| 5665 | ], | ||
| 5666 | [#Rule 228 | ||
| 5667 | 'member_list', 1, | ||
| 5668 | sub | ||
| 5669 | #line 1368 "Parser23.yp" | ||
| 5670 | { | ||
| 5671 | [$_[1]]; | ||
| 5672 | } | ||
| 5673 | ], | ||
| 5674 | [#Rule 229 | ||
| 5675 | 'member_list', 2, | ||
| 5676 | sub | ||
| 5677 | #line 1372 "Parser23.yp" | ||
| 5678 | { | ||
| 5679 | unshift @{$_[2]}, $_[1]; | ||
| 5680 | $_[2]; | ||
| 5681 | } | ||
| 5682 | ], | ||
| 5683 | [#Rule 230 | ||
| 5684 | 'member', 3, | ||
| 5685 | sub | ||
| 5686 | #line 1381 "Parser23.yp" | ||
| 5687 | { | ||
| 5688 | new CORBA::IDL::Members($_[0], | ||
| 5689 | 'type' => $_[1], | ||
| 5690 | 'list_expr' => $_[2] | ||
| 5691 | ); | ||
| 5692 | } | ||
| 5693 | ], | ||
| 5694 | [#Rule 231 | ||
| 5695 | 'union_type', 8, | ||
| 5696 | sub | ||
| 5697 | #line 1392 "Parser23.yp" | ||
| 5698 | { | ||
| 5699 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5700 | $_[1]->Configure($_[0], | ||
| 5701 | 'type' => $_[4], | ||
| 5702 | 'list_expr' => $_[7] | ||
| 5703 | ) if (defined $_[1]); | ||
| 5704 | } | ||
| 5705 | ], | ||
| 5706 | [#Rule 232 | ||
| 5707 | 'union_type', 8, | ||
| 5708 | sub | ||
| 5709 | #line 1400 "Parser23.yp" | ||
| 5710 | { | ||
| 5711 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5712 | $_[0]->Error("switch_body expected.\n"); | ||
| 5713 | $_[0]->YYErrok(); | ||
| 5714 | $_[1]; | ||
| 5715 | } | ||
| 5716 | ], | ||
| 5717 | [#Rule 233 | ||
| 5718 | 'union_type', 6, | ||
| 5719 | sub | ||
| 5720 | #line 1407 "Parser23.yp" | ||
| 5721 | { | ||
| 5722 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5723 | $_[0]->Error("'\x7b' expected.\n"); | ||
| 5724 | $_[0]->YYErrok(); | ||
| 5725 | $_[1]; | ||
| 5726 | } | ||
| 5727 | ], | ||
| 5728 | [#Rule 234 | ||
| 5729 | 'union_type', 5, | ||
| 5730 | sub | ||
| 5731 | #line 1414 "Parser23.yp" | ||
| 5732 | { | ||
| 5733 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5734 | $_[0]->Error("switch_type_spec expected.\n"); | ||
| 5735 | $_[0]->YYErrok(); | ||
| 5736 | $_[1]; | ||
| 5737 | } | ||
| 5738 | ], | ||
| 5739 | [#Rule 235 | ||
| 5740 | 'union_type', 3, | ||
| 5741 | sub | ||
| 5742 | #line 1421 "Parser23.yp" | ||
| 5743 | { | ||
| 5744 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5745 | $_[0]->Error("'(' expected.\n"); | ||
| 5746 | $_[0]->YYErrok(); | ||
| 5747 | $_[1]; | ||
| 5748 | } | ||
| 5749 | ], | ||
| 5750 | [#Rule 236 | ||
| 5751 | 'union_header', 2, | ||
| 5752 | sub | ||
| 5753 | #line 1431 "Parser23.yp" | ||
| 5754 | { | ||
| 5755 | new CORBA::IDL::UnionType($_[0], | ||
| 5756 | 'idf' => $_[2], | ||
| 5757 | ); | ||
| 5758 | } | ||
| 5759 | ], | ||
| 5760 | [#Rule 237 | ||
| 5761 | 'union_header', 2, | ||
| 5762 | sub | ||
| 5763 | #line 1437 "Parser23.yp" | ||
| 5764 | { | ||
| 5765 | $_[0]->Error("Identifier expected.\n"); | ||
| 5766 | $_[0]->YYErrok(); | ||
| 5767 | } | ||
| 5768 | ], | ||
| 5769 | [#Rule 238 | ||
| 5770 | 'switch_type_spec', 1, undef | ||
| 5771 | ], | ||
| 5772 | [#Rule 239 | ||
| 5773 | 'switch_type_spec', 1, undef | ||
| 5774 | ], | ||
| 5775 | [#Rule 240 | ||
| 5776 | 'switch_type_spec', 1, undef | ||
| 5777 | ], | ||
| 5778 | [#Rule 241 | ||
| 5779 | 'switch_type_spec', 1, undef | ||
| 5780 | ], | ||
| 5781 | [#Rule 242 | ||
| 5782 | 'switch_type_spec', 1, | ||
| 5783 | sub | ||
| 5784 | #line 1454 "Parser23.yp" | ||
| 5785 | { | ||
| 5786 | CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]); | ||
| 5787 | } | ||
| 5788 | ], | ||
| 5789 | [#Rule 243 | ||
| 5790 | 'switch_body', 1, | ||
| 5791 | sub | ||
| 5792 | #line 1462 "Parser23.yp" | ||
| 5793 | { | ||
| 5794 | [$_[1]]; | ||
| 5795 | } | ||
| 5796 | ], | ||
| 5797 | [#Rule 244 | ||
| 5798 | 'switch_body', 2, | ||
| 5799 | sub | ||
| 5800 | #line 1466 "Parser23.yp" | ||
| 5801 | { | ||
| 5802 | unshift @{$_[2]}, $_[1]; | ||
| 5803 | $_[2]; | ||
| 5804 | } | ||
| 5805 | ], | ||
| 5806 | [#Rule 245 | ||
| 5807 | 'case', 3, | ||
| 5808 | sub | ||
| 5809 | #line 1475 "Parser23.yp" | ||
| 5810 | { | ||
| 5811 | new CORBA::IDL::Case($_[0], | ||
| 5812 | 'list_label' => $_[1], | ||
| 5813 | 'element' => $_[2] | ||
| 5814 | ); | ||
| 5815 | } | ||
| 5816 | ], | ||
| 5817 | [#Rule 246 | ||
| 5818 | 'case_labels', 1, | ||
| 5819 | sub | ||
| 5820 | #line 1485 "Parser23.yp" | ||
| 5821 | { | ||
| 5822 | [$_[1]]; | ||
| 5823 | } | ||
| 5824 | ], | ||
| 5825 | [#Rule 247 | ||
| 5826 | 'case_labels', 2, | ||
| 5827 | sub | ||
| 5828 | #line 1489 "Parser23.yp" | ||
| 5829 | { | ||
| 5830 | unshift @{$_[2]}, $_[1]; | ||
| 5831 | $_[2]; | ||
| 5832 | } | ||
| 5833 | ], | ||
| 5834 | [#Rule 248 | ||
| 5835 | 'case_label', 3, | ||
| 5836 | sub | ||
| 5837 | #line 1498 "Parser23.yp" | ||
| 5838 | { | ||
| 5839 | $_[2]; # here only a expression, type is not known | ||
| 5840 | } | ||
| 5841 | ], | ||
| 5842 | [#Rule 249 | ||
| 5843 | 'case_label', 3, | ||
| 5844 | sub | ||
| 5845 | #line 1502 "Parser23.yp" | ||
| 5846 | { | ||
| 5847 | $_[0]->Error("':' expected.\n"); | ||
| 5848 | $_[0]->YYErrok(); | ||
| 5849 | $_[2]; | ||
| 5850 | } | ||
| 5851 | ], | ||
| 5852 | [#Rule 250 | ||
| 5853 | 'case_label', 2, | ||
| 5854 | sub | ||
| 5855 | #line 1508 "Parser23.yp" | ||
| 5856 | { | ||
| 5857 | $_[0]->Error("Expression expected.\n"); | ||
| 5858 | $_[0]->YYErrok(); | ||
| 5859 | } | ||
| 5860 | ], | ||
| 5861 | [#Rule 251 | ||
| 5862 | 'case_label', 2, | ||
| 5863 | sub | ||
| 5864 | #line 1513 "Parser23.yp" | ||
| 5865 | { | ||
| 5866 | new CORBA::IDL::Default($_[0]); | ||
| 5867 | } | ||
| 5868 | ], | ||
| 5869 | [#Rule 252 | ||
| 5870 | 'case_label', 2, | ||
| 5871 | sub | ||
| 5872 | #line 1517 "Parser23.yp" | ||
| 5873 | { | ||
| 5874 | $_[0]->Error("':' expected.\n"); | ||
| 5875 | $_[0]->YYErrok(); | ||
| 5876 | new CORBA::IDL::Default($_[0]); | ||
| 5877 | } | ||
| 5878 | ], | ||
| 5879 | [#Rule 253 | ||
| 5880 | 'element_spec', 2, | ||
| 5881 | sub | ||
| 5882 | #line 1527 "Parser23.yp" | ||
| 5883 | { | ||
| 5884 | new CORBA::IDL::Element($_[0], | ||
| 5885 | 'type' => $_[1], | ||
| 5886 | 'list_expr' => $_[2] | ||
| 5887 | ); | ||
| 5888 | } | ||
| 5889 | ], | ||
| 5890 | [#Rule 254 | ||
| 5891 | 'enum_type', 4, | ||
| 5892 | sub | ||
| 5893 | #line 1538 "Parser23.yp" | ||
| 5894 | { | ||
| 5895 | $_[1]->Configure($_[0], | ||
| 5896 | 'list_expr' => $_[3] | ||
| 5897 | ) if (defined $_[1]); | ||
| 5898 | } | ||
| 5899 | ], | ||
| 5900 | [#Rule 255 | ||
| 5901 | 'enum_type', 4, | ||
| 5902 | sub | ||
| 5903 | #line 1544 "Parser23.yp" | ||
| 5904 | { | ||
| 5905 | $_[0]->Error("enumerator expected.\n"); | ||
| 5906 | $_[0]->YYErrok(); | ||
| 5907 | $_[1]; | ||
| 5908 | } | ||
| 5909 | ], | ||
| 5910 | [#Rule 256 | ||
| 5911 | 'enum_type', 2, | ||
| 5912 | sub | ||
| 5913 | #line 1550 "Parser23.yp" | ||
| 5914 | { | ||
| 5915 | $_[0]->Error("'\x7b' expected.\n"); | ||
| 5916 | $_[0]->YYErrok(); | ||
| 5917 | $_[1]; | ||
| 5918 | } | ||
| 5919 | ], | ||
| 5920 | [#Rule 257 | ||
| 5921 | 'enum_header', 2, | ||
| 5922 | sub | ||
| 5923 | #line 1559 "Parser23.yp" | ||
| 5924 | { | ||
| 5925 | new CORBA::IDL::EnumType($_[0], | ||
| 5926 | 'idf' => $_[2], | ||
| 5927 | ); | ||
| 5928 | } | ||
| 5929 | ], | ||
| 5930 | [#Rule 258 | ||
| 5931 | 'enum_header', 2, | ||
| 5932 | sub | ||
| 5933 | #line 1565 "Parser23.yp" | ||
| 5934 | { | ||
| 5935 | $_[0]->Error("Identifier expected.\n"); | ||
| 5936 | $_[0]->YYErrok(); | ||
| 5937 | } | ||
| 5938 | ], | ||
| 5939 | [#Rule 259 | ||
| 5940 | 'enumerators', 1, | ||
| 5941 | sub | ||
| 5942 | #line 1573 "Parser23.yp" | ||
| 5943 | { | ||
| 5944 | [$_[1]]; | ||
| 5945 | } | ||
| 5946 | ], | ||
| 5947 | [#Rule 260 | ||
| 5948 | 'enumerators', 3, | ||
| 5949 | sub | ||
| 5950 | #line 1577 "Parser23.yp" | ||
| 5951 | { | ||
| 5952 | unshift @{$_[3]}, $_[1]; | ||
| 5953 | $_[3]; | ||
| 5954 | } | ||
| 5955 | ], | ||
| 5956 | [#Rule 261 | ||
| 5957 | 'enumerators', 2, | ||
| 5958 | sub | ||
| 5959 | #line 1582 "Parser23.yp" | ||
| 5960 | { | ||
| 5961 | $_[0]->Warning("',' unexpected.\n"); | ||
| 5962 | [$_[1]]; | ||
| 5963 | } | ||
| 5964 | ], | ||
| 5965 | [#Rule 262 | ||
| 5966 | 'enumerators', 2, | ||
| 5967 | sub | ||
| 5968 | #line 1587 "Parser23.yp" | ||
| 5969 | { | ||
| 5970 | $_[0]->Error("';' unexpected.\n"); | ||
| 5971 | [$_[1]]; | ||
| 5972 | } | ||
| 5973 | ], | ||
| 5974 | [#Rule 263 | ||
| 5975 | 'enumerator', 1, | ||
| 5976 | sub | ||
| 5977 | #line 1596 "Parser23.yp" | ||
| 5978 | { | ||
| 5979 | new CORBA::IDL::Enum($_[0], | ||
| 5980 | 'idf' => $_[1] | ||
| 5981 | ); | ||
| 5982 | } | ||
| 5983 | ], | ||
| 5984 | [#Rule 264 | ||
| 5985 | 'sequence_type', 6, | ||
| 5986 | sub | ||
| 5987 | #line 1606 "Parser23.yp" | ||
| 5988 | { | ||
| 5989 | new CORBA::IDL::SequenceType($_[0], | ||
| 5990 | 'value' => $_[1], | ||
| 5991 | 'type' => $_[3], | ||
| 5992 | 'max' => $_[5] | ||
| 5993 | ); | ||
| 5994 | } | ||
| 5995 | ], | ||
| 5996 | [#Rule 265 | ||
| 5997 | 'sequence_type', 6, | ||
| 5998 | sub | ||
| 5999 | #line 1614 "Parser23.yp" | ||
| 6000 | { | ||
| 6001 | $_[0]->Error("Expression expected.\n"); | ||
| 6002 | $_[0]->YYErrok(); | ||
| 6003 | } | ||
| 6004 | ], | ||
| 6005 | [#Rule 266 | ||
| 6006 | 'sequence_type', 4, | ||
| 6007 | sub | ||
| 6008 | #line 1619 "Parser23.yp" | ||
| 6009 | { | ||
| 6010 | new CORBA::IDL::SequenceType($_[0], | ||
| 6011 | 'value' => $_[1], | ||
| 6012 | 'type' => $_[3] | ||
| 6013 | ); | ||
| 6014 | } | ||
| 6015 | ], | ||
| 6016 | [#Rule 267 | ||
| 6017 | 'sequence_type', 4, | ||
| 6018 | sub | ||
| 6019 | #line 1626 "Parser23.yp" | ||
| 6020 | { | ||
| 6021 | $_[0]->Error("simple_type_spec expected.\n"); | ||
| 6022 | $_[0]->YYErrok(); | ||
| 6023 | } | ||
| 6024 | ], | ||
| 6025 | [#Rule 268 | ||
| 6026 | 'sequence_type', 2, | ||
| 6027 | sub | ||
| 6028 | #line 1631 "Parser23.yp" | ||
| 6029 | { | ||
| 6030 | $_[0]->Error("'<' expected.\n"); | ||
| 6031 | $_[0]->YYErrok(); | ||
| 6032 | } | ||
| 6033 | ], | ||
| 6034 | [#Rule 269 | ||
| 6035 | 'string_type', 4, | ||
| 6036 | sub | ||
| 6037 | #line 1640 "Parser23.yp" | ||
| 6038 | { | ||
| 6039 | new CORBA::IDL::StringType($_[0], | ||
| 6040 | 'value' => $_[1], | ||
| 6041 | 'max' => $_[3] | ||
| 6042 | ); | ||
| 6043 | } | ||
| 6044 | ], | ||
| 6045 | [#Rule 270 | ||
| 6046 | 'string_type', 1, | ||
| 6047 | sub | ||
| 6048 | #line 1647 "Parser23.yp" | ||
| 6049 | { | ||
| 6050 | new CORBA::IDL::StringType($_[0], | ||
| 6051 | 'value' => $_[1] | ||
| 6052 | ); | ||
| 6053 | } | ||
| 6054 | ], | ||
| 6055 | [#Rule 271 | ||
| 6056 | 'string_type', 4, | ||
| 6057 | sub | ||
| 6058 | #line 1653 "Parser23.yp" | ||
| 6059 | { | ||
| 6060 | $_[0]->Error("Expression expected.\n"); | ||
| 6061 | $_[0]->YYErrok(); | ||
| 6062 | } | ||
| 6063 | ], | ||
| 6064 | [#Rule 272 | ||
| 6065 | 'wide_string_type', 4, | ||
| 6066 | sub | ||
| 6067 | #line 1662 "Parser23.yp" | ||
| 6068 | { | ||
| 6069 | new CORBA::IDL::WideStringType($_[0], | ||
| 6070 | 'value' => $_[1], | ||
| 6071 | 'max' => $_[3] | ||
| 6072 | ); | ||
| 6073 | } | ||
| 6074 | ], | ||
| 6075 | [#Rule 273 | ||
| 6076 | 'wide_string_type', 1, | ||
| 6077 | sub | ||
| 6078 | #line 1669 "Parser23.yp" | ||
| 6079 | { | ||
| 6080 | new CORBA::IDL::WideStringType($_[0], | ||
| 6081 | 'value' => $_[1] | ||
| 6082 | ); | ||
| 6083 | } | ||
| 6084 | ], | ||
| 6085 | [#Rule 274 | ||
| 6086 | 'wide_string_type', 4, | ||
| 6087 | sub | ||
| 6088 | #line 1675 "Parser23.yp" | ||
| 6089 | { | ||
| 6090 | $_[0]->Error("Expression expected.\n"); | ||
| 6091 | $_[0]->YYErrok(); | ||
| 6092 | } | ||
| 6093 | ], | ||
| 6094 | [#Rule 275 | ||
| 6095 | 'array_declarator', 2, | ||
| 6096 | sub | ||
| 6097 | #line 1684 "Parser23.yp" | ||
| 6098 | { | ||
| 6099 | unshift @{$_[2]}, $_[1]; | ||
| 6100 | $_[2]; | ||
| 6101 | } | ||
| 6102 | ], | ||
| 6103 | [#Rule 276 | ||
| 6104 | 'fixed_array_sizes', 1, | ||
| 6105 | sub | ||
| 6106 | #line 1692 "Parser23.yp" | ||
| 6107 | { | ||
| 6108 | [$_[1]]; | ||
| 6109 | } | ||
| 6110 | ], | ||
| 6111 | [#Rule 277 | ||
| 6112 | 'fixed_array_sizes', 2, | ||
| 6113 | sub | ||
| 6114 | #line 1696 "Parser23.yp" | ||
| 6115 | { | ||
| 6116 | unshift @{$_[2]}, $_[1]; | ||
| 6117 | $_[2]; | ||
| 6118 | } | ||
| 6119 | ], | ||
| 6120 | [#Rule 278 | ||
| 6121 | 'fixed_array_size', 3, | ||
| 6122 | sub | ||
| 6123 | #line 1705 "Parser23.yp" | ||
| 6124 | { | ||
| 6125 | $_[2]; | ||
| 6126 | } | ||
| 6127 | ], | ||
| 6128 | [#Rule 279 | ||
| 6129 | 'fixed_array_size', 3, | ||
| 6130 | sub | ||
| 6131 | #line 1709 "Parser23.yp" | ||
| 6132 | { | ||
| 6133 | $_[0]->Error("Expression expected.\n"); | ||
| 6134 | $_[0]->YYErrok(); | ||
| 6135 | } | ||
| 6136 | ], | ||
| 6137 | [#Rule 280 | ||
| 6138 | 'attr_dcl', 4, | ||
| 6139 | sub | ||
| 6140 | #line 1718 "Parser23.yp" | ||
| 6141 | { | ||
| 6142 | new CORBA::IDL::Attributes($_[0], | ||
| 6143 | 'modifier' => $_[1], | ||
| 6144 | 'type' => $_[3], | ||
| 6145 | 'list_expr' => $_[4] | ||
| 6146 | ); | ||
| 6147 | } | ||
| 6148 | ], | ||
| 6149 | [#Rule 281 | ||
| 6150 | 'attr_dcl', 3, | ||
| 6151 | sub | ||
| 6152 | #line 1726 "Parser23.yp" | ||
| 6153 | { | ||
| 6154 | $_[0]->Error("type expected.\n"); | ||
| 6155 | $_[0]->YYErrok(); | ||
| 6156 | } | ||
| 6157 | ], | ||
| 6158 | [#Rule 282 | ||
| 6159 | 'attr_mod', 1, undef | ||
| 6160 | ], | ||
| 6161 | [#Rule 283 | ||
| 6162 | 'attr_mod', 0, undef | ||
| 6163 | ], | ||
| 6164 | [#Rule 284 | ||
| 6165 | 'simple_declarators', 1, | ||
| 6166 | sub | ||
| 6167 | #line 1741 "Parser23.yp" | ||
| 6168 | { | ||
| 6169 | [$_[1]]; | ||
| 6170 | } | ||
| 6171 | ], | ||
| 6172 | [#Rule 285 | ||
| 6173 | 'simple_declarators', 3, | ||
| 6174 | sub | ||
| 6175 | #line 1745 "Parser23.yp" | ||
| 6176 | { | ||
| 6177 | unshift @{$_[3]}, $_[1]; | ||
| 6178 | $_[3]; | ||
| 6179 | } | ||
| 6180 | ], | ||
| 6181 | [#Rule 286 | ||
| 6182 | 'except_dcl', 3, | ||
| 6183 | sub | ||
| 6184 | #line 1754 "Parser23.yp" | ||
| 6185 | { | ||
| 6186 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6187 | $_[1]; | ||
| 6188 | } | ||
| 6189 | ], | ||
| 6190 | [#Rule 287 | ||
| 6191 | 'except_dcl', 4, | ||
| 6192 | sub | ||
| 6193 | #line 1759 "Parser23.yp" | ||
| 6194 | { | ||
| 6195 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6196 | $_[1]->Configure($_[0], | ||
| 6197 | 'list_expr' => $_[3] | ||
| 6198 | ) if (defined $_[1]); | ||
| 6199 | } | ||
| 6200 | ], | ||
| 6201 | [#Rule 288 | ||
| 6202 | 'except_dcl', 4, | ||
| 6203 | sub | ||
| 6204 | #line 1766 "Parser23.yp" | ||
| 6205 | { | ||
| 6206 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6207 | $_[0]->Error("'members expected.\n"); | ||
| 6208 | $_[0]->YYErrok(); | ||
| 6209 | $_[1]; | ||
| 6210 | } | ||
| 6211 | ], | ||
| 6212 | [#Rule 289 | ||
| 6213 | 'except_dcl', 2, | ||
| 6214 | sub | ||
| 6215 | #line 1773 "Parser23.yp" | ||
| 6216 | { | ||
| 6217 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6218 | $_[0]->Error("'\x7b' expected.\n"); | ||
| 6219 | $_[0]->YYErrok(); | ||
| 6220 | $_[1]; | ||
| 6221 | } | ||
| 6222 | ], | ||
| 6223 | [#Rule 290 | ||
| 6224 | 'exception_header', 2, | ||
| 6225 | sub | ||
| 6226 | #line 1783 "Parser23.yp" | ||
| 6227 | { | ||
| 6228 | new CORBA::IDL::Exception($_[0], | ||
| 6229 | 'idf' => $_[2], | ||
| 6230 | ); | ||
| 6231 | } | ||
| 6232 | ], | ||
| 6233 | [#Rule 291 | ||
| 6234 | 'exception_header', 2, | ||
| 6235 | sub | ||
| 6236 | #line 1789 "Parser23.yp" | ||
| 6237 | { | ||
| 6238 | $_[0]->Error("Identifier expected.\n"); | ||
| 6239 | $_[0]->YYErrok(); | ||
| 6240 | } | ||
| 6241 | ], | ||
| 6242 | [#Rule 292 | ||
| 6243 | 'op_dcl', 4, | ||
| 6244 | sub | ||
| 6245 | #line 1798 "Parser23.yp" | ||
| 6246 | { | ||
| 6247 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 6248 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 6249 | $_[1]->Configure($_[0], | ||
| 6250 | 'list_param' => $_[2], | ||
| 6251 | 'list_raise' => $_[3], | ||
| 6252 | 'list_context' => $_[4] | ||
| 6253 | ) if (defined $_[1]); | ||
| 6254 | } | ||
| 6255 | ], | ||
| 6256 | [#Rule 293 | ||
| 6257 | 'op_dcl', 2, | ||
| 6258 | sub | ||
| 6259 | #line 1808 "Parser23.yp" | ||
| 6260 | { | ||
| 6261 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 6262 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 6263 | $_[0]->Error("parameters declaration expected.\n"); | ||
| 6264 | $_[0]->YYErrok(); | ||
| 6265 | $_[1]; | ||
| 6266 | } | ||
| 6267 | ], | ||
| 6268 | [#Rule 294 | ||
| 6269 | 'op_header', 3, | ||
| 6270 | sub | ||
| 6271 | #line 1819 "Parser23.yp" | ||
| 6272 | { | ||
| 6273 | new CORBA::IDL::Operation($_[0], | ||
| 6274 | 'modifier' => $_[1], | ||
| 6275 | 'type' => $_[2], | ||
| 6276 | 'idf' => $_[3] | ||
| 6277 | ); | ||
| 6278 | } | ||
| 6279 | ], | ||
| 6280 | [#Rule 295 | ||
| 6281 | 'op_header', 3, | ||
| 6282 | sub | ||
| 6283 | #line 1827 "Parser23.yp" | ||
| 6284 | { | ||
| 6285 | $_[0]->Error("Identifier expected.\n"); | ||
| 6286 | $_[0]->YYErrok(); | ||
| 6287 | } | ||
| 6288 | ], | ||
| 6289 | [#Rule 296 | ||
| 6290 | 'op_mod', 1, undef | ||
| 6291 | ], | ||
| 6292 | [#Rule 297 | ||
| 6293 | 'op_mod', 0, undef | ||
| 6294 | ], | ||
| 6295 | [#Rule 298 | ||
| 6296 | 'op_attribute', 1, undef | ||
| 6297 | ], | ||
| 6298 | [#Rule 299 | ||
| 6299 | 'op_type_spec', 1, undef | ||
| 6300 | ], | ||
| 6301 | [#Rule 300 | ||
| 6302 | 'op_type_spec', 1, | ||
| 6303 | sub | ||
| 6304 | #line 1851 "Parser23.yp" | ||
| 6305 | { | ||
| 6306 | new CORBA::IDL::VoidType($_[0], | ||
| 6307 | 'value' => $_[1] | ||
| 6308 | ); | ||
| 6309 | } | ||
| 6310 | ], | ||
| 6311 | [#Rule 301 | ||
| 6312 | 'op_type_spec', 1, | ||
| 6313 | sub | ||
| 6314 | #line 1857 "Parser23.yp" | ||
| 6315 | { | ||
| 6316 | $_[0]->Error("op_type_spec expected.\n"); | ||
| 6317 | $_[1]; #default action | ||
| 6318 | } | ||
| 6319 | ], | ||
| 6320 | [#Rule 302 | ||
| 6321 | 'op_type_spec', 1, | ||
| 6322 | sub | ||
| 6323 | #line 1862 "Parser23.yp" | ||
| 6324 | { | ||
| 6325 | $_[0]->Error("op_type_spec expected.\n"); | ||
| 6326 | $_[1]; #default action | ||
| 6327 | } | ||
| 6328 | ], | ||
| 6329 | [#Rule 303 | ||
| 6330 | 'parameter_dcls', 3, | ||
| 6331 | sub | ||
| 6332 | #line 1871 "Parser23.yp" | ||
| 6333 | { | ||
| 6334 | $_[2]; | ||
| 6335 | } | ||
| 6336 | ], | ||
| 6337 | [#Rule 304 | ||
| 6338 | 'parameter_dcls', 5, | ||
| 6339 | sub | ||
| 6340 | #line 1875 "Parser23.yp" | ||
| 6341 | { | ||
| 6342 | $_[0]->Error("'...' unexpected.\n"); | ||
| 6343 | $_[2]; | ||
| 6344 | } | ||
| 6345 | ], | ||
| 6346 | [#Rule 305 | ||
| 6347 | 'parameter_dcls', 4, | ||
| 6348 | sub | ||
| 6349 | #line 1880 "Parser23.yp" | ||
| 6350 | { | ||
| 6351 | $_[0]->Warning("',' unexpected.\n"); | ||
| 6352 | $_[2]; | ||
| 6353 | } | ||
| 6354 | ], | ||
| 6355 | [#Rule 306 | ||
| 6356 | 'parameter_dcls', 2, | ||
| 6357 | sub | ||
| 6358 | #line 1885 "Parser23.yp" | ||
| 6359 | { | ||
| 6360 | undef; | ||
| 6361 | } | ||
| 6362 | ], | ||
| 6363 | [#Rule 307 | ||
| 6364 | 'parameter_dcls', 3, | ||
| 6365 | sub | ||
| 6366 | #line 1889 "Parser23.yp" | ||
| 6367 | { | ||
| 6368 | $_[0]->Error("'...' unexpected.\n"); | ||
| 6369 | undef; | ||
| 6370 | } | ||
| 6371 | ], | ||
| 6372 | [#Rule 308 | ||
| 6373 | 'parameter_dcls', 3, | ||
| 6374 | sub | ||
| 6375 | #line 1894 "Parser23.yp" | ||
| 6376 | { | ||
| 6377 | $_[0]->Error("parameters declaration expected.\n"); | ||
| 6378 | $_[0]->YYErrok(); | ||
| 6379 | } | ||
| 6380 | ], | ||
| 6381 | [#Rule 309 | ||
| 6382 | 'param_dcls', 1, | ||
| 6383 | sub | ||
| 6384 | #line 1902 "Parser23.yp" | ||
| 6385 | { | ||
| 6386 | [$_[1]]; | ||
| 6387 | } | ||
| 6388 | ], | ||
| 6389 | [#Rule 310 | ||
| 6390 | 'param_dcls', 3, | ||
| 6391 | sub | ||
| 6392 | #line 1906 "Parser23.yp" | ||
| 6393 | { | ||
| 6394 | push @{$_[1]}, $_[3]; | ||
| 6395 | $_[1]; | ||
| 6396 | } | ||
| 6397 | ], | ||
| 6398 | [#Rule 311 | ||
| 6399 | 'param_dcls', 2, | ||
| 6400 | sub | ||
| 6401 | #line 1911 "Parser23.yp" | ||
| 6402 | { | ||
| 6403 | $_[0]->Error("';' unexpected.\n"); | ||
| 6404 | [$_[1]]; | ||
| 6405 | } | ||
| 6406 | ], | ||
| 6407 | [#Rule 312 | ||
| 6408 | 'param_dcl', 3, | ||
| 6409 | sub | ||
| 6410 | #line 1920 "Parser23.yp" | ||
| 6411 | { | ||
| 6412 | new CORBA::IDL::Parameter($_[0], | ||
| 6413 | 'attr' => $_[1], | ||
| 6414 | 'type' => $_[2], | ||
| 6415 | 'idf' => $_[3] | ||
| 6416 | ); | ||
| 6417 | } | ||
| 6418 | ], | ||
| 6419 | [#Rule 313 | ||
| 6420 | 'param_attribute', 1, undef | ||
| 6421 | ], | ||
| 6422 | [#Rule 314 | ||
| 6423 | 'param_attribute', 1, undef | ||
| 6424 | ], | ||
| 6425 | [#Rule 315 | ||
| 6426 | 'param_attribute', 1, undef | ||
| 6427 | ], | ||
| 6428 | [#Rule 316 | ||
| 6429 | 'param_attribute', 0, | ||
| 6430 | sub | ||
| 6431 | #line 1938 "Parser23.yp" | ||
| 6432 | { | ||
| 6433 | $_[0]->Error("(in|out|inout) expected.\n"); | ||
| 6434 | $_[0]->YYErrok(); | ||
| 6435 | } | ||
| 6436 | ], | ||
| 6437 | [#Rule 317 | ||
| 6438 | 'raises_expr', 4, | ||
| 6439 | sub | ||
| 6440 | #line 1947 "Parser23.yp" | ||
| 6441 | { | ||
| 6442 | $_[3]; | ||
| 6443 | } | ||
| 6444 | ], | ||
| 6445 | [#Rule 318 | ||
| 6446 | 'raises_expr', 4, | ||
| 6447 | sub | ||
| 6448 | #line 1951 "Parser23.yp" | ||
| 6449 | { | ||
| 6450 | $_[0]->Error("name expected.\n"); | ||
| 6451 | $_[0]->YYErrok(); | ||
| 6452 | } | ||
| 6453 | ], | ||
| 6454 | [#Rule 319 | ||
| 6455 | 'raises_expr', 2, | ||
| 6456 | sub | ||
| 6457 | #line 1956 "Parser23.yp" | ||
| 6458 | { | ||
| 6459 | $_[0]->Error("'(' expected.\n"); | ||
| 6460 | $_[0]->YYErrok(); | ||
| 6461 | } | ||
| 6462 | ], | ||
| 6463 | [#Rule 320 | ||
| 6464 | 'raises_expr', 0, undef | ||
| 6465 | ], | ||
| 6466 | [#Rule 321 | ||
| 6467 | 'exception_names', 1, | ||
| 6468 | sub | ||
| 6469 | #line 1966 "Parser23.yp" | ||
| 6470 | { | ||
| 6471 | [$_[1]]; | ||
| 6472 | } | ||
| 6473 | ], | ||
| 6474 | [#Rule 322 | ||
| 6475 | 'exception_names', 3, | ||
| 6476 | sub | ||
| 6477 | #line 1970 "Parser23.yp" | ||
| 6478 | { | ||
| 6479 | unshift @{$_[3]}, $_[1]; | ||
| 6480 | $_[3]; | ||
| 6481 | } | ||
| 6482 | ], | ||
| 6483 | [#Rule 323 | ||
| 6484 | 'exception_name', 1, | ||
| 6485 | sub | ||
| 6486 | #line 1978 "Parser23.yp" | ||
| 6487 | { | ||
| 6488 | CORBA::IDL::Exception->Lookup($_[0], $_[1]); | ||
| 6489 | } | ||
| 6490 | ], | ||
| 6491 | [#Rule 324 | ||
| 6492 | 'context_expr', 4, | ||
| 6493 | sub | ||
| 6494 | #line 1986 "Parser23.yp" | ||
| 6495 | { | ||
| 6496 | $_[3]; | ||
| 6497 | } | ||
| 6498 | ], | ||
| 6499 | [#Rule 325 | ||
| 6500 | 'context_expr', 4, | ||
| 6501 | sub | ||
| 6502 | #line 1990 "Parser23.yp" | ||
| 6503 | { | ||
| 6504 | $_[0]->Error("string expected.\n"); | ||
| 6505 | $_[0]->YYErrok(); | ||
| 6506 | } | ||
| 6507 | ], | ||
| 6508 | [#Rule 326 | ||
| 6509 | 'context_expr', 2, | ||
| 6510 | sub | ||
| 6511 | #line 1995 "Parser23.yp" | ||
| 6512 | { | ||
| 6513 | $_[0]->Error("'(' expected.\n"); | ||
| 6514 | $_[0]->YYErrok(); | ||
| 6515 | } | ||
| 6516 | ], | ||
| 6517 | [#Rule 327 | ||
| 6518 | 'context_expr', 0, undef | ||
| 6519 | ], | ||
| 6520 | [#Rule 328 | ||
| 6521 | 'string_literals', 1, | ||
| 6522 | sub | ||
| 6523 | #line 2005 "Parser23.yp" | ||
| 6524 | { | ||
| 6525 | [$_[1]]; | ||
| 6526 | } | ||
| 6527 | ], | ||
| 6528 | [#Rule 329 | ||
| 6529 | 'string_literals', 3, | ||
| 6530 | sub | ||
| 6531 | #line 2009 "Parser23.yp" | ||
| 6532 | { | ||
| 6533 | unshift @{$_[3]}, $_[1]; | ||
| 6534 | $_[3]; | ||
| 6535 | } | ||
| 6536 | ], | ||
| 6537 | [#Rule 330 | ||
| 6538 | 'param_type_spec', 1, undef | ||
| 6539 | ], | ||
| 6540 | [#Rule 331 | ||
| 6541 | 'param_type_spec', 1, | ||
| 6542 | sub | ||
| 6543 | #line 2020 "Parser23.yp" | ||
| 6544 | { | ||
| 6545 | $_[0]->Error("param_type_spec expected.\n"); | ||
| 6546 | $_[1]; #default action | ||
| 6547 | } | ||
| 6548 | ], | ||
| 6549 | [#Rule 332 | ||
| 6550 | 'param_type_spec', 1, | ||
| 6551 | sub | ||
| 6552 | #line 2025 "Parser23.yp" | ||
| 6553 | { | ||
| 6554 | $_[0]->Error("param_type_spec expected.\n"); | ||
| 6555 | $_[1]; #default action | ||
| 6556 | } | ||
| 6557 | ], | ||
| 6558 | [#Rule 333 | ||
| 6559 | 'param_type_spec', 1, | ||
| 6560 | sub | ||
| 6561 | #line 2030 "Parser23.yp" | ||
| 6562 | { | ||
| 6563 | $_[0]->Error("param_type_spec expected.\n"); | ||
| 6564 | $_[1]; #default action | ||
| 6565 | } | ||
| 6566 | ], | ||
| 6567 | [#Rule 334 | ||
| 6568 | 'param_type_spec', 1, | ||
| 6569 | sub | ||
| 6570 | #line 2035 "Parser23.yp" | ||
| 6571 | { | ||
| 6572 | $_[0]->Error("param_type_spec expected.\n"); | ||
| 6573 | $_[1]; #default action | ||
| 6574 | } | ||
| 6575 | ], | ||
| 6576 | [#Rule 335 | ||
| 6577 | 'op_param_type_spec', 1, undef | ||
| 6578 | ], | ||
| 6579 | [#Rule 336 | ||
| 6580 | 'op_param_type_spec', 1, undef | ||
| 6581 | ], | ||
| 6582 | [#Rule 337 | ||
| 6583 | 'op_param_type_spec', 1, undef | ||
| 6584 | ], | ||
| 6585 | [#Rule 338 | ||
| 6586 | 'op_param_type_spec', 1, | ||
| 6587 | sub | ||
| 6588 | #line 2049 "Parser23.yp" | ||
| 6589 | { | ||
| 6590 | CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]); | ||
| 6591 | } | ||
| 6592 | ], | ||
| 6593 | [#Rule 339 | ||
| 6594 | 'fixed_pt_type', 6, | ||
| 6595 | sub | ||
| 6596 | #line 2057 "Parser23.yp" | ||
| 6597 | { | ||
| 6598 | new CORBA::IDL::FixedPtType($_[0], | ||
| 6599 | 'value' => $_[1], | ||
| 6600 | 'd' => $_[3], | ||
| 6601 | 's' => $_[5] | ||
| 6602 | ); | ||
| 6603 | } | ||
| 6604 | ], | ||
| 6605 | [#Rule 340 | ||
| 6606 | 'fixed_pt_type', 6, | ||
| 6607 | sub | ||
| 6608 | #line 2065 "Parser23.yp" | ||
| 6609 | { | ||
| 6610 | $_[0]->Error("Expression expected.\n"); | ||
| 6611 | $_[0]->YYErrok(); | ||
| 6612 | } | ||
| 6613 | ], | ||
| 6614 | [#Rule 341 | ||
| 6615 | 'fixed_pt_type', 4, | ||
| 6616 | sub | ||
| 6617 | #line 2070 "Parser23.yp" | ||
| 6618 | { | ||
| 6619 | $_[0]->Error("Expression expected.\n"); | ||
| 6620 | $_[0]->YYErrok(); | ||
| 6621 | } | ||
| 6622 | ], | ||
| 6623 | [#Rule 342 | ||
| 6624 | 'fixed_pt_type', 2, | ||
| 6625 | sub | ||
| 6626 | #line 2075 "Parser23.yp" | ||
| 6627 | { | ||
| 6628 | $_[0]->Error("'<' expected.\n"); | ||
| 6629 | $_[0]->YYErrok(); | ||
| 6630 | } | ||
| 6631 | ], | ||
| 6632 | [#Rule 343 | ||
| 6633 | 'fixed_pt_const_type', 1, | ||
| 6634 | sub | ||
| 6635 | #line 2084 "Parser23.yp" | ||
| 6636 | { | ||
| 6637 | new CORBA::IDL::FixedPtConstType($_[0], | ||
| 6638 | 'value' => $_[1] | ||
| 6639 | ); | ||
| 6640 | } | ||
| 6641 | ], | ||
| 6642 | [#Rule 344 | ||
| 6643 | 'value_base_type', 1, | ||
| 6644 | sub | ||
| 6645 | #line 2094 "Parser23.yp" | ||
| 6646 | { | ||
| 6647 | new CORBA::IDL::ValueBaseType($_[0], | ||
| 6648 | 'value' => $_[1] | ||
| 6649 | ); | ||
| 6650 | } | ||
| 6651 | ] | ||
| 6652 | ], | ||
| 6653 | @_); | ||
| 6654 | bless($self,$class); | ||
| 6655 | } | ||
| 6656 | |||
| 6657 | #line 2101 "Parser23.yp" | ||
| 6658 | |||
| 6659 | |||
| 6660 | use warnings; | ||
| 6661 | |||
| 6662 | our $VERSION = '2.61'; | ||
| 6663 | our $IDL_VERSION = '2.3'; | ||
| 6664 | |||
| 6665 | sub BuildUnop | ||
| 6666 | { | ||
| 6667 | my ($op, $expr) = @_; | ||
| 6668 | |||
| 6669 | my $node = new CORBA::IDL::UnaryOp($_[0], | ||
| 6670 | 'op' => $op | ||
| 6671 | ); | ||
| 6672 | push @$expr, $node; | ||
| 6673 | return $expr; | ||
| 6674 | } | ||
| 6675 | |||
| 6676 | sub BuildBinop | ||
| 6677 | { | ||
| 6678 | my ($left, $op, $right) = @_; | ||
| 6679 | |||
| 6680 | my $node = new CORBA::IDL::BinaryOp($_[0], | ||
| 6681 | 'op' => $op | ||
| 6682 | ); | ||
| 6683 | push @$left, @$right; | ||
| 6684 | push @$left, $node; | ||
| 6685 | return $left; | ||
| 6686 | } | ||
| 6687 | |||
| 6688 | |||
| 6689 | 1; |