IDL/Parser21.pm untested

filter: Statementstmt 0.0% 0 / 907 Branchbran 0.0% 0 / 20 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 942 CC 11 SCAR 44.6
CC
11
Cov
0%
new
132.0
BuildUnop
2.0
BuildBinop
2.0
CRAP 86.1
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 'IDENTIFIER' => 22,
31 'INTERFACE' => 3,
32 'ENUM' => 2,
33 'MODULE' => 23,
34 'CONST' => 25,
35 'STRUCT' => 24,
36 'UNION' => 10,
37 'TYPEDEF' => 14,
38 'EXCEPTION' => 15,
39 'error' => 16
40 },
41 GOTOS => {
42 'union_type' => 1,
43 'enum_header' => 4,
44 'definitions' => 5,
45 'definition' => 8,
46 'module_header' => 7,
47 'struct_type' => 6,
48 'union_header' => 9,
49 'specification' => 11,
50 'except_dcl' => 12,
51 'struct_header' => 13,
52 'interface' => 17,
53 'type_dcl' => 18,
54 'module' => 20,
55 'interface_header' => 19,
56 'enum_type' => 21,
57 'forward_dcl' => 27,
58 'exception_header' => 26,
59 'const_dcl' => 28,
60 'interface_dcl' => 29
61 }
62 },
63 {#State 1
64 DEFAULT => -105
65 },
66 {#State 2
67 ACTIONS => {
68 'IDENTIFIER' => 31,
69 'error' => 30
70 }
71 },
72 {#State 3
73 ACTIONS => {
74 'IDENTIFIER' => 33,
75 'error' => 32
76 }
77 },
78 {#State 4
79 ACTIONS => {
80 "{" => 35,
81 'error' => 34
82 }
83 },
84 {#State 5
85 DEFAULT => -1
86 },
87 {#State 6
88 DEFAULT => -104
89 },
90 {#State 7
91 ACTIONS => {
92 "{" => 37,
93 'error' => 36
94 }
95 },
96 {#State 8
97 ACTIONS => {
98 'IDENTIFIER' => 22,
99 'INTERFACE' => 3,
100 'ENUM' => 2,
101 'MODULE' => 23,
102 'CONST' => 25,
103 'STRUCT' => 24,
104 'UNION' => 10,
105 'TYPEDEF' => 14,
106 'EXCEPTION' => 15
107 },
108 DEFAULT => -4,
109 GOTOS => {
110 'union_type' => 1,
111 'enum_header' => 4,
112 'definitions' => 38,
113 'definition' => 8,
114 'module_header' => 7,
115 'struct_type' => 6,
116 'union_header' => 9,
117 'except_dcl' => 12,
118 'struct_header' => 13,
119 'interface' => 17,
120 'type_dcl' => 18,
121 'module' => 20,
122 'interface_header' => 19,
123 'enum_type' => 21,
124 'exception_header' => 26,
125 'forward_dcl' => 27,
126 'const_dcl' => 28,
127 'interface_dcl' => 29
128 }
129 },
130 {#State 9
131 ACTIONS => {
132 'SWITCH' => 39
133 }
134 },
135 {#State 10
136 ACTIONS => {
137 'IDENTIFIER' => 41,
138 'error' => 40
139 }
140 },
141 {#State 11
142 ACTIONS => {
143 '' => 42
144 }
145 },
146 {#State 12
147 ACTIONS => {
148 ";" => 43,
149 'error' => 44
150 },
151 GOTOS => {
152 'check_semicolon' => 45
153 }
154 },
155 {#State 13
156 ACTIONS => {
157 "{" => 46
158 }
159 },
160 {#State 14
161 ACTIONS => {
162 "::" => 72,
163 'ENUM' => 2,
164 'CHAR' => 73,
165 'OBJECT' => 77,
166 'STRING' => 80,
167 'OCTET' => 49,
168 'WSTRING' => 82,
169 'UNION' => 10,
170 'UNSIGNED' => 51,
171 'error' => 84,
172 'ANY' => 52,
173 'FLOAT' => 86,
174 'LONG' => 54,
175 'SEQUENCE' => 87,
176 'IDENTIFIER' => 59,
177 'DOUBLE' => 88,
178 'SHORT' => 89,
179 'BOOLEAN' => 91,
180 'STRUCT' => 24,
181 'VOID' => 64,
182 'FIXED' => 94,
183 'WCHAR' => 69
184 },
185 GOTOS => {
186 'union_type' => 47,
187 'enum_header' => 4,
188 'unsigned_short_int' => 48,
189 'struct_type' => 50,
190 'union_header' => 9,
191 'struct_header' => 13,
192 'type_declarator' => 53,
193 'signed_longlong_int' => 55,
194 'enum_type' => 56,
195 'any_type' => 57,
196 'template_type_spec' => 58,
197 'unsigned_long_int' => 60,
198 'scoped_name' => 61,
199 'string_type' => 62,
200 'char_type' => 63,
201 'fixed_pt_type' => 67,
202 'signed_short_int' => 66,
203 'signed_long_int' => 65,
204 'wide_char_type' => 68,
205 'octet_type' => 70,
206 'wide_string_type' => 71,
207 'object_type' => 74,
208 'type_spec' => 75,
209 'integer_type' => 76,
210 'sequence_type' => 78,
211 'unsigned_int' => 79,
212 'unsigned_longlong_int' => 81,
213 'constr_type_spec' => 83,
214 'floating_pt_type' => 85,
215 'base_type_spec' => 90,
216 'signed_int' => 92,
217 'simple_type_spec' => 93,
218 'boolean_type' => 95
219 }
220 },
221 {#State 15
222 ACTIONS => {
223 'IDENTIFIER' => 96,
224 'error' => 97
225 }
226 },
227 {#State 16
228 DEFAULT => -3
229 },
230 {#State 17
231 ACTIONS => {
232 ";" => 43,
233 'error' => 44
234 },
235 GOTOS => {
236 'check_semicolon' => 98
237 }
238 },
239 {#State 18
240 ACTIONS => {
241 ";" => 43,
242 'error' => 44
243 },
244 GOTOS => {
245 'check_semicolon' => 99
246 }
247 },
248 {#State 19
249 ACTIONS => {
250 "{" => 100
251 }
252 },
253 {#State 20
254 ACTIONS => {
255 ";" => 43,
256 'error' => 44
257 },
258 GOTOS => {
259 'check_semicolon' => 101
260 }
261 },
262 {#State 21
263 DEFAULT => -106
264 },
265 {#State 22
266 ACTIONS => {
267 'error' => 102
268 }
269 },
270 {#State 23
271 ACTIONS => {
272 'IDENTIFIER' => 103,
273 'error' => 104
274 }
275 },
276 {#State 24
277 ACTIONS => {
278 'IDENTIFIER' => 105,
279 'error' => 106
280 }
281 },
282 {#State 25
283 ACTIONS => {
284 'DOUBLE' => 88,
285 "::" => 72,
286 'IDENTIFIER' => 59,
287 'SHORT' => 89,
288 'CHAR' => 73,
289 'BOOLEAN' => 91,
290 'STRING' => 80,
291 'WSTRING' => 82,
292 'UNSIGNED' => 51,
293 'FIXED' => 117,
294 'error' => 114,
295 'FLOAT' => 86,
296 'LONG' => 54,
297 'WCHAR' => 69
298 },
299 GOTOS => {
300 'wide_string_type' => 111,
301 'integer_type' => 112,
302 'unsigned_int' => 79,
303 'unsigned_short_int' => 48,
304 'unsigned_longlong_int' => 81,
305 'floating_pt_type' => 113,
306 'const_type' => 115,
307 'signed_longlong_int' => 55,
308 'unsigned_long_int' => 60,
309 'scoped_name' => 107,
310 'string_type' => 108,
311 'signed_int' => 92,
312 'fixed_pt_const_type' => 116,
313 'char_type' => 109,
314 'signed_short_int' => 66,
315 'signed_long_int' => 65,
316 'boolean_type' => 118,
317 'wide_char_type' => 110
318 }
319 },
320 {#State 26
321 ACTIONS => {
322 "{" => 120,
323 'error' => 119
324 }
325 },
326 {#State 27
327 DEFAULT => -21
328 },
329 {#State 28
330 ACTIONS => {
331 ";" => 43,
332 'error' => 44
333 },
334 GOTOS => {
335 'check_semicolon' => 121
336 }
337 },
338 {#State 29
339 DEFAULT => -20
340 },
341 {#State 30
342 DEFAULT => -195
343 },
344 {#State 31
345 DEFAULT => -194
346 },
347 {#State 32
348 ACTIONS => {
349 "{" => -28
350 },
351 DEFAULT => -26
352 },
353 {#State 33
354 ACTIONS => {
355 ":" => 122,
356 "{" => -39
357 },
358 DEFAULT => -25,
359 GOTOS => {
360 'interface_inheritance_spec' => 123
361 }
362 },
363 {#State 34
364 DEFAULT => -193
365 },
366 {#State 35
367 ACTIONS => {
368 'IDENTIFIER' => 124,
369 'error' => 126
370 },
371 GOTOS => {
372 'enumerators' => 127,
373 'enumerator' => 125
374 }
375 },
376 {#State 36
377 ACTIONS => {
378 "}" => 128
379 }
380 },
381 {#State 37
382 ACTIONS => {
383 "}" => 129,
384 'INTERFACE' => 3,
385 'ENUM' => 2,
386 'IDENTIFIER' => 22,
387 'MODULE' => 23,
388 'CONST' => 25,
389 'STRUCT' => 24,
390 'UNION' => 10,
391 'TYPEDEF' => 14,
392 'error' => 131,
393 'EXCEPTION' => 15
394 },
395 GOTOS => {
396 'union_type' => 1,
397 'enum_header' => 4,
398 'definitions' => 130,
399 'definition' => 8,
400 'module_header' => 7,
401 'struct_type' => 6,
402 'union_header' => 9,
403 'except_dcl' => 12,
404 'struct_header' => 13,
405 'interface' => 17,
406 'type_dcl' => 18,
407 'module' => 20,
408 'interface_header' => 19,
409 'enum_type' => 21,
410 'forward_dcl' => 27,
411 'exception_header' => 26,
412 'const_dcl' => 28,
413 'interface_dcl' => 29
414 }
415 },
416 {#State 38
417 DEFAULT => -5
418 },
419 {#State 39
420 ACTIONS => {
421 "(" => 132,
422 'error' => 133
423 }
424 },
425 {#State 40
426 DEFAULT => -174
427 },
428 {#State 41
429 DEFAULT => -173
430 },
431 {#State 42
432 DEFAULT => 0
433 },
434 {#State 43
435 DEFAULT => -12
436 },
437 {#State 44
438 DEFAULT => -13
439 },
440 {#State 45
441 DEFAULT => -8
442 },
443 {#State 46
444 ACTIONS => {
445 "::" => 72,
446 'ENUM' => 2,
447 'CHAR' => 73,
448 'OBJECT' => 77,
449 'STRING' => 80,
450 'OCTET' => 49,
451 'WSTRING' => 82,
452 'UNION' => 10,
453 'UNSIGNED' => 51,
454 'error' => 137,
455 'ANY' => 52,
456 'FLOAT' => 86,
457 'LONG' => 54,
458 'SEQUENCE' => 87,
459 'IDENTIFIER' => 59,
460 'DOUBLE' => 88,
461 'SHORT' => 89,
462 'BOOLEAN' => 91,
463 'STRUCT' => 24,
464 'VOID' => 64,
465 'FIXED' => 94,
466 'WCHAR' => 69
467 },
468 GOTOS => {
469 'union_type' => 47,
470 'enum_header' => 4,
471 'unsigned_short_int' => 48,
472 'struct_type' => 50,
473 'union_header' => 9,
474 'struct_header' => 13,
475 'member_list' => 134,
476 'signed_longlong_int' => 55,
477 'enum_type' => 56,
478 'any_type' => 57,
479 'template_type_spec' => 58,
480 'member' => 135,
481 'unsigned_long_int' => 60,
482 'scoped_name' => 61,
483 'string_type' => 62,
484 'char_type' => 63,
485 'fixed_pt_type' => 67,
486 'signed_short_int' => 66,
487 'signed_long_int' => 65,
488 'wide_char_type' => 68,
489 'octet_type' => 70,
490 'wide_string_type' => 71,
491 'object_type' => 74,
492 'type_spec' => 136,
493 'integer_type' => 76,
494 'unsigned_int' => 79,
495 'sequence_type' => 78,
496 'unsigned_longlong_int' => 81,
497 'constr_type_spec' => 83,
498 'floating_pt_type' => 85,
499 'base_type_spec' => 90,
500 'signed_int' => 92,
501 'simple_type_spec' => 93,
502 'boolean_type' => 95
503 }
504 },
505 {#State 47
506 DEFAULT => -128
507 },
508 {#State 48
509 DEFAULT => -149
510 },
511 {#State 49
512 DEFAULT => -158
513 },
514 {#State 50
515 DEFAULT => -127
516 },
517 {#State 51
518 ACTIONS => {
519 'SHORT' => 139,
520 'LONG' => 138
521 }
522 },
523 {#State 52
524 DEFAULT => -159
525 },
526 {#State 53
527 DEFAULT => -103
528 },
529 {#State 54
530 ACTIONS => {
531 'DOUBLE' => 141,
532 'LONG' => 140
533 },
534 DEFAULT => -147
535 },
536 {#State 55
537 DEFAULT => -145
538 },
539 {#State 56
540 DEFAULT => -129
541 },
542 {#State 57
543 DEFAULT => -121
544 },
545 {#State 58
546 DEFAULT => -112
547 },
548 {#State 59
549 DEFAULT => -43
550 },
551 {#State 60
552 DEFAULT => -150
553 },
554 {#State 61
555 ACTIONS => {
556 "::" => 142
557 },
558 DEFAULT => -113
559 },
560 {#State 62
561 DEFAULT => -124
562 },
563 {#State 63
564 DEFAULT => -117
565 },
566 {#State 64
567 DEFAULT => -114
568 },
569 {#State 65
570 DEFAULT => -144
571 },
572 {#State 66
573 DEFAULT => -143
574 },
575 {#State 67
576 DEFAULT => -126
577 },
578 {#State 68
579 DEFAULT => -118
580 },
581 {#State 69
582 DEFAULT => -156
583 },
584 {#State 70
585 DEFAULT => -120
586 },
587 {#State 71
588 DEFAULT => -125
589 },
590 {#State 72
591 ACTIONS => {
592 'IDENTIFIER' => 143,
593 'error' => 144
594 }
595 },
596 {#State 73
597 DEFAULT => -155
598 },
599 {#State 74
600 DEFAULT => -122
601 },
602 {#State 75
603 ACTIONS => {
604 'IDENTIFIER' => 146,
605 'error' => 148
606 },
607 GOTOS => {
608 'declarators' => 149,
609 'array_declarator' => 150,
610 'simple_declarator' => 145,
611 'declarator' => 147,
612 'complex_declarator' => 151
613 }
614 },
615 {#State 76
616 DEFAULT => -116
617 },
618 {#State 77
619 DEFAULT => -160
620 },
621 {#State 78
622 DEFAULT => -123
623 },
624 {#State 79
625 DEFAULT => -142
626 },
627 {#State 80
628 ACTIONS => {
629 "<" => 152
630 },
631 DEFAULT => -207
632 },
633 {#State 81
634 DEFAULT => -151
635 },
636 {#State 82
637 ACTIONS => {
638 "<" => 153
639 },
640 DEFAULT => -210
641 },
642 {#State 83
643 DEFAULT => -110
644 },
645 {#State 84
646 DEFAULT => -107
647 },
648 {#State 85
649 DEFAULT => -115
650 },
651 {#State 86
652 DEFAULT => -138
653 },
654 {#State 87
655 ACTIONS => {
656 "<" => 154,
657 'error' => 155
658 }
659 },
660 {#State 88
661 DEFAULT => -139
662 },
663 {#State 89
664 DEFAULT => -146
665 },
666 {#State 90
667 DEFAULT => -111
668 },
669 {#State 91
670 DEFAULT => -157
671 },
672 {#State 92
673 DEFAULT => -141
674 },
675 {#State 93
676 DEFAULT => -109
677 },
678 {#State 94
679 ACTIONS => {
680 "<" => 156,
681 'error' => 157
682 }
683 },
684 {#State 95
685 DEFAULT => -119
686 },
687 {#State 96
688 DEFAULT => -227
689 },
690 {#State 97
691 DEFAULT => -228
692 },
693 {#State 98
694 DEFAULT => -9
695 },
696 {#State 99
697 DEFAULT => -6
698 },
699 {#State 100
700 ACTIONS => {
701 "}" => 158,
702 "::" => -234,
703 'ENUM' => 2,
704 'CHAR' => -234,
705 'OBJECT' => -234,
706 'STRING' => -234,
707 'OCTET' => -234,
708 'ONEWAY' => 169,
709 'WSTRING' => -234,
710 'UNION' => 10,
711 'UNSIGNED' => -234,
712 'TYPEDEF' => 14,
713 'error' => 172,
714 'EXCEPTION' => 15,
715 'ANY' => -234,
716 'FLOAT' => -234,
717 'LONG' => -234,
718 'ATTRIBUTE' => -220,
719 'SEQUENCE' => -234,
720 'IDENTIFIER' => -234,
721 'DOUBLE' => -234,
722 'SHORT' => -234,
723 'BOOLEAN' => -234,
724 'STRUCT' => 24,
725 'CONST' => 25,
726 'READONLY' => 173,
727 'VOID' => -234,
728 'FIXED' => -234,
729 'WCHAR' => -234
730 },
731 GOTOS => {
732 'op_header' => 166,
733 'union_type' => 1,
734 'interface_body' => 167,
735 'attr_mod' => 159,
736 'enum_header' => 4,
737 'op_dcl' => 168,
738 'exports' => 171,
739 'attr_dcl' => 170,
740 'struct_type' => 6,
741 'union_header' => 9,
742 'except_dcl' => 160,
743 'struct_header' => 13,
744 'export' => 162,
745 'type_dcl' => 161,
746 'enum_type' => 21,
747 'op_attribute' => 163,
748 'op_mod' => 164,
749 'exception_header' => 26,
750 'const_dcl' => 165
751 }
752 },
753 {#State 101
754 DEFAULT => -10
755 },
756 {#State 102
757 ACTIONS => {
758 ";" => 174
759 }
760 },
761 {#State 103
762 DEFAULT => -18
763 },
764 {#State 104
765 DEFAULT => -19
766 },
767 {#State 105
768 DEFAULT => -163
769 },
770 {#State 106
771 DEFAULT => -164
772 },
773 {#State 107
774 ACTIONS => {
775 "::" => 142
776 },
777 DEFAULT => -61
778 },
779 {#State 108
780 DEFAULT => -58
781 },
782 {#State 109
783 DEFAULT => -54
784 },
785 {#State 110
786 DEFAULT => -55
787 },
788 {#State 111
789 DEFAULT => -59
790 },
791 {#State 112
792 DEFAULT => -53
793 },
794 {#State 113
795 DEFAULT => -57
796 },
797 {#State 114
798 DEFAULT => -52
799 },
800 {#State 115
801 ACTIONS => {
802 'IDENTIFIER' => 175,
803 'error' => 176
804 }
805 },
806 {#State 116
807 DEFAULT => -60
808 },
809 {#State 117
810 DEFAULT => -279
811 },
812 {#State 118
813 DEFAULT => -56
814 },
815 {#State 119
816 DEFAULT => -226
817 },
818 {#State 120
819 ACTIONS => {
820 "}" => 177,
821 "::" => 72,
822 'ENUM' => 2,
823 'CHAR' => 73,
824 'OBJECT' => 77,
825 'STRING' => 80,
826 'OCTET' => 49,
827 'WSTRING' => 82,
828 'UNION' => 10,
829 'UNSIGNED' => 51,
830 'error' => 179,
831 'ANY' => 52,
832 'FLOAT' => 86,
833 'LONG' => 54,
834 'SEQUENCE' => 87,
835 'DOUBLE' => 88,
836 'IDENTIFIER' => 59,
837 'SHORT' => 89,
838 'BOOLEAN' => 91,
839 'STRUCT' => 24,
840 'VOID' => 64,
841 'FIXED' => 94,
842 'WCHAR' => 69
843 },
844 GOTOS => {
845 'union_type' => 47,
846 'enum_header' => 4,
847 'unsigned_short_int' => 48,
848 'struct_type' => 50,
849 'union_header' => 9,
850 'struct_header' => 13,
851 'member_list' => 178,
852 'signed_longlong_int' => 55,
853 'enum_type' => 56,
854 'any_type' => 57,
855 'template_type_spec' => 58,
856 'member' => 135,
857 'unsigned_long_int' => 60,
858 'scoped_name' => 61,
859 'string_type' => 62,
860 'char_type' => 63,
861 'fixed_pt_type' => 67,
862 'signed_short_int' => 66,
863 'signed_long_int' => 65,
864 'wide_char_type' => 68,
865 'octet_type' => 70,
866 'wide_string_type' => 71,
867 'object_type' => 74,
868 'type_spec' => 136,
869 'integer_type' => 76,
870 'unsigned_int' => 79,
871 'sequence_type' => 78,
872 'unsigned_longlong_int' => 81,
873 'constr_type_spec' => 83,
874 'floating_pt_type' => 85,
875 'base_type_spec' => 90,
876 'signed_int' => 92,
877 'simple_type_spec' => 93,
878 'boolean_type' => 95
879 }
880 },
881 {#State 121
882 DEFAULT => -7
883 },
884 {#State 122
885 ACTIONS => {
886 "::" => 72,
887 'IDENTIFIER' => 59,
888 'error' => 181
889 },
890 GOTOS => {
891 'interface_name' => 183,
892 'interface_names' => 182,
893 'scoped_name' => 180
894 }
895 },
896 {#State 123
897 DEFAULT => -27
898 },
899 {#State 124
900 DEFAULT => -200
901 },
902 {#State 125
903 ACTIONS => {
904 ";" => 184,
905 "," => 185
906 },
907 DEFAULT => -196
908 },
909 {#State 126
910 ACTIONS => {
911 "}" => 186
912 }
913 },
914 {#State 127
915 ACTIONS => {
916 "}" => 187
917 }
918 },
919 {#State 128
920 DEFAULT => -17
921 },
922 {#State 129
923 DEFAULT => -16
924 },
925 {#State 130
926 ACTIONS => {
927 "}" => 188
928 }
929 },
930 {#State 131
931 ACTIONS => {
932 "}" => 189
933 }
934 },
935 {#State 132
936 ACTIONS => {
937 "::" => 72,
938 'ENUM' => 2,
939 'IDENTIFIER' => 59,
940 'SHORT' => 89,
941 'CHAR' => 73,
942 'BOOLEAN' => 91,
943 'UNSIGNED' => 51,
944 'error' => 195,
945 'LONG' => 190
946 },
947 GOTOS => {
948 'signed_longlong_int' => 55,
949 'enum_type' => 191,
950 'integer_type' => 194,
951 'unsigned_long_int' => 60,
952 'unsigned_int' => 79,
953 'scoped_name' => 192,
954 'enum_header' => 4,
955 'signed_int' => 92,
956 'unsigned_short_int' => 48,
957 'unsigned_longlong_int' => 81,
958 'char_type' => 193,
959 'signed_long_int' => 65,
960 'signed_short_int' => 66,
961 'boolean_type' => 197,
962 'switch_type_spec' => 196
963 }
964 },
965 {#State 133
966 DEFAULT => -172
967 },
968 {#State 134
969 ACTIONS => {
970 "}" => 198
971 }
972 },
973 {#State 135
974 ACTIONS => {
975 "::" => 72,
976 'ENUM' => 2,
977 'CHAR' => 73,
978 'OBJECT' => 77,
979 'STRING' => 80,
980 'OCTET' => 49,
981 'WSTRING' => 82,
982 'UNION' => 10,
983 'UNSIGNED' => 51,
984 'ANY' => 52,
985 'FLOAT' => 86,
986 'LONG' => 54,
987 'SEQUENCE' => 87,
988 'DOUBLE' => 88,
989 'IDENTIFIER' => 59,
990 'SHORT' => 89,
991 'BOOLEAN' => 91,
992 'STRUCT' => 24,
993 'VOID' => 64,
994 'FIXED' => 94,
995 'WCHAR' => 69
996 },
997 DEFAULT => -165,
998 GOTOS => {
999 'union_type' => 47,
1000 'enum_header' => 4,
1001 'unsigned_short_int' => 48,
1002 'struct_type' => 50,
1003 'union_header' => 9,
1004 'struct_header' => 13,
1005 'member_list' => 199,
1006 'signed_longlong_int' => 55,
1007 'enum_type' => 56,
1008 'any_type' => 57,
1009 'template_type_spec' => 58,
1010 'member' => 135,
1011 'unsigned_long_int' => 60,
1012 'scoped_name' => 61,
1013 'string_type' => 62,
1014 'char_type' => 63,
1015 'fixed_pt_type' => 67,
1016 'signed_short_int' => 66,
1017 'signed_long_int' => 65,
1018 'wide_char_type' => 68,
1019 'octet_type' => 70,
1020 'wide_string_type' => 71,
1021 'object_type' => 74,
1022 'type_spec' => 136,
1023 'integer_type' => 76,
1024 'unsigned_int' => 79,
1025 'sequence_type' => 78,
1026 'unsigned_longlong_int' => 81,
1027 'constr_type_spec' => 83,
1028 'floating_pt_type' => 85,
1029 'base_type_spec' => 90,
1030 'signed_int' => 92,
1031 'simple_type_spec' => 93,
1032 'boolean_type' => 95
1033 }
1034 },
1035 {#State 136
1036 ACTIONS => {
1037 'IDENTIFIER' => 146,
1038 'error' => 148
1039 },
1040 GOTOS => {
1041 'declarators' => 200,
1042 'array_declarator' => 150,
1043 'simple_declarator' => 145,
1044 'declarator' => 147,
1045 'complex_declarator' => 151
1046 }
1047 },
1048 {#State 137
1049 ACTIONS => {
1050 "}" => 201
1051 }
1052 },
1053 {#State 138
1054 ACTIONS => {
1055 'LONG' => 202
1056 },
1057 DEFAULT => -153
1058 },
1059 {#State 139
1060 DEFAULT => -152
1061 },
1062 {#State 140
1063 DEFAULT => -148
1064 },
1065 {#State 141
1066 DEFAULT => -140
1067 },
1068 {#State 142
1069 ACTIONS => {
1070 'IDENTIFIER' => 203,
1071 'error' => 204
1072 }
1073 },
1074 {#State 143
1075 DEFAULT => -44
1076 },
1077 {#State 144
1078 DEFAULT => -45
1079 },
1080 {#State 145
1081 DEFAULT => -132
1082 },
1083 {#State 146
1084 ACTIONS => {
1085 "[" => 206
1086 },
1087 DEFAULT => -134,
1088 GOTOS => {
1089 'fixed_array_sizes' => 205,
1090 'fixed_array_size' => 207
1091 }
1092 },
1093 {#State 147
1094 ACTIONS => {
1095 "," => 208
1096 },
1097 DEFAULT => -130
1098 },
1099 {#State 148
1100 ACTIONS => {
1101 ";" => 209,
1102 "," => 210
1103 }
1104 },
1105 {#State 149
1106 DEFAULT => -108
1107 },
1108 {#State 150
1109 DEFAULT => -137
1110 },
1111 {#State 151
1112 DEFAULT => -133
1113 },
1114 {#State 152
1115 ACTIONS => {
1116 "-" => 211,
1117 "::" => 72,
1118 'TRUE' => 224,
1119 "+" => 225,
1120 "~" => 212,
1121 'INTEGER_LITERAL' => 226,
1122 'FLOATING_PT_LITERAL' => 228,
1123 'FALSE' => 214,
1124 'error' => 229,
1125 'WIDE_STRING_LITERAL' => 230,
1126 'CHARACTER_LITERAL' => 231,
1127 'IDENTIFIER' => 59,
1128 "(" => 221,
1129 'FIXED_PT_LITERAL' => 235,
1130 'STRING_LITERAL' => 238,
1131 'WIDE_CHARACTER_LITERAL' => 223
1132 },
1133 GOTOS => {
1134 'shift_expr' => 227,
1135 'literal' => 213,
1136 'const_exp' => 215,
1137 'unary_operator' => 216,
1138 'string_literal' => 217,
1139 'and_expr' => 218,
1140 'or_expr' => 219,
1141 'mult_expr' => 232,
1142 'scoped_name' => 220,
1143 'boolean_literal' => 233,
1144 'add_expr' => 234,
1145 'positive_int_const' => 236,
1146 'unary_expr' => 222,
1147 'primary_expr' => 237,
1148 'wide_string_literal' => 239,
1149 'xor_expr' => 240
1150 }
1151 },
1152 {#State 153
1153 ACTIONS => {
1154 "-" => 211,
1155 "::" => 72,
1156 'TRUE' => 224,
1157 "+" => 225,
1158 "~" => 212,
1159 'INTEGER_LITERAL' => 226,
1160 'FLOATING_PT_LITERAL' => 228,
1161 'FALSE' => 214,
1162 'error' => 241,
1163 'WIDE_STRING_LITERAL' => 230,
1164 'CHARACTER_LITERAL' => 231,
1165 'IDENTIFIER' => 59,
1166 "(" => 221,
1167 'FIXED_PT_LITERAL' => 235,
1168 'STRING_LITERAL' => 238,
1169 'WIDE_CHARACTER_LITERAL' => 223
1170 },
1171 GOTOS => {
1172 'shift_expr' => 227,
1173 'literal' => 213,
1174 'const_exp' => 215,
1175 'unary_operator' => 216,
1176 'string_literal' => 217,
1177 'and_expr' => 218,
1178 'or_expr' => 219,
1179 'mult_expr' => 232,
1180 'scoped_name' => 220,
1181 'boolean_literal' => 233,
1182 'add_expr' => 234,
1183 'positive_int_const' => 242,
1184 'unary_expr' => 222,
1185 'primary_expr' => 237,
1186 'wide_string_literal' => 239,
1187 'xor_expr' => 240
1188 }
1189 },
1190 {#State 154
1191 ACTIONS => {
1192 "::" => 72,
1193 'CHAR' => 73,
1194 'OBJECT' => 77,
1195 'STRING' => 80,
1196 'OCTET' => 49,
1197 'WSTRING' => 82,
1198 'UNSIGNED' => 51,
1199 'error' => 243,
1200 'ANY' => 52,
1201 'FLOAT' => 86,
1202 'LONG' => 54,
1203 'SEQUENCE' => 87,
1204 'IDENTIFIER' => 59,
1205 'DOUBLE' => 88,
1206 'SHORT' => 89,
1207 'BOOLEAN' => 91,
1208 'VOID' => 64,
1209 'FIXED' => 94,
1210 'WCHAR' => 69
1211 },
1212 GOTOS => {
1213 'wide_string_type' => 71,
1214 'object_type' => 74,
1215 'integer_type' => 76,
1216 'sequence_type' => 78,
1217 'unsigned_int' => 79,
1218 'unsigned_short_int' => 48,
1219 'unsigned_longlong_int' => 81,
1220 'floating_pt_type' => 85,
1221 'signed_longlong_int' => 55,
1222 'any_type' => 57,
1223 'template_type_spec' => 58,
1224 'base_type_spec' => 90,
1225 'unsigned_long_int' => 60,
1226 'scoped_name' => 61,
1227 'signed_int' => 92,
1228 'string_type' => 62,
1229 'simple_type_spec' => 244,
1230 'char_type' => 63,
1231 'signed_short_int' => 66,
1232 'signed_long_int' => 65,
1233 'fixed_pt_type' => 67,
1234 'boolean_type' => 95,
1235 'wide_char_type' => 68,
1236 'octet_type' => 70
1237 }
1238 },
1239 {#State 155
1240 DEFAULT => -205
1241 },
1242 {#State 156
1243 ACTIONS => {
1244 "-" => 211,
1245 "::" => 72,
1246 'TRUE' => 224,
1247 "+" => 225,
1248 "~" => 212,
1249 'INTEGER_LITERAL' => 226,
1250 'FLOATING_PT_LITERAL' => 228,
1251 'FALSE' => 214,
1252 'error' => 245,
1253 'WIDE_STRING_LITERAL' => 230,
1254 'CHARACTER_LITERAL' => 231,
1255 'IDENTIFIER' => 59,
1256 "(" => 221,
1257 'FIXED_PT_LITERAL' => 235,
1258 'STRING_LITERAL' => 238,
1259 'WIDE_CHARACTER_LITERAL' => 223
1260 },
1261 GOTOS => {
1262 'shift_expr' => 227,
1263 'literal' => 213,
1264 'const_exp' => 215,
1265 'unary_operator' => 216,
1266 'string_literal' => 217,
1267 'and_expr' => 218,
1268 'or_expr' => 219,
1269 'mult_expr' => 232,
1270 'scoped_name' => 220,
1271 'boolean_literal' => 233,
1272 'add_expr' => 234,
1273 'positive_int_const' => 246,
1274 'unary_expr' => 222,
1275 'primary_expr' => 237,
1276 'wide_string_literal' => 239,
1277 'xor_expr' => 240
1278 }
1279 },
1280 {#State 157
1281 DEFAULT => -278
1282 },
1283 {#State 158
1284 DEFAULT => -22
1285 },
1286 {#State 159
1287 ACTIONS => {
1288 'ATTRIBUTE' => 247
1289 }
1290 },
1291 {#State 160
1292 ACTIONS => {
1293 ";" => 43,
1294 'error' => 44
1295 },
1296 GOTOS => {
1297 'check_semicolon' => 248
1298 }
1299 },
1300 {#State 161
1301 ACTIONS => {
1302 ";" => 43,
1303 'error' => 44
1304 },
1305 GOTOS => {
1306 'check_semicolon' => 249
1307 }
1308 },
1309 {#State 162
1310 ACTIONS => {
1311 "}" => -30,
1312 'ENUM' => 2,
1313 'ONEWAY' => 169,
1314 'UNION' => 10,
1315 'TYPEDEF' => 14,
1316 'EXCEPTION' => 15,
1317 'ATTRIBUTE' => -220,
1318 'STRUCT' => 24,
1319 'CONST' => 25,
1320 'READONLY' => 173
1321 },
1322 DEFAULT => -234,
1323 GOTOS => {
1324 'op_header' => 166,
1325 'union_type' => 1,
1326 'attr_mod' => 159,
1327 'enum_header' => 4,
1328 'op_dcl' => 168,
1329 'exports' => 250,
1330 'attr_dcl' => 170,
1331 'struct_type' => 6,
1332 'union_header' => 9,
1333 'except_dcl' => 160,
1334 'struct_header' => 13,
1335 'export' => 162,
1336 'type_dcl' => 161,
1337 'enum_type' => 21,
1338 'op_attribute' => 163,
1339 'op_mod' => 164,
1340 'exception_header' => 26,
1341 'const_dcl' => 165
1342 }
1343 },
1344 {#State 163
1345 DEFAULT => -233
1346 },
1347 {#State 164
1348 ACTIONS => {
1349 "::" => 72,
1350 'CHAR' => 73,
1351 'OBJECT' => 77,
1352 'STRING' => 80,
1353 'OCTET' => 49,
1354 'WSTRING' => 82,
1355 'UNSIGNED' => 51,
1356 'ANY' => 52,
1357 'FLOAT' => 86,
1358 'LONG' => 54,
1359 'SEQUENCE' => 87,
1360 'IDENTIFIER' => 59,
1361 'DOUBLE' => 88,
1362 'SHORT' => 89,
1363 'BOOLEAN' => 91,
1364 'VOID' => 253,
1365 'FIXED' => 94,
1366 'WCHAR' => 69
1367 },
1368 GOTOS => {
1369 'wide_string_type' => 255,
1370 'object_type' => 74,
1371 'integer_type' => 76,
1372 'unsigned_int' => 79,
1373 'sequence_type' => 256,
1374 'op_param_type_spec' => 257,
1375 'unsigned_short_int' => 48,
1376 'unsigned_longlong_int' => 81,
1377 'floating_pt_type' => 85,
1378 'signed_longlong_int' => 55,
1379 'any_type' => 57,
1380 'base_type_spec' => 258,
1381 'unsigned_long_int' => 60,
1382 'scoped_name' => 251,
1383 'signed_int' => 92,
1384 'string_type' => 252,
1385 'char_type' => 63,
1386 'signed_long_int' => 65,
1387 'fixed_pt_type' => 254,
1388 'signed_short_int' => 66,
1389 'op_type_spec' => 259,
1390 'boolean_type' => 95,
1391 'wide_char_type' => 68,
1392 'octet_type' => 70
1393 }
1394 },
1395 {#State 165
1396 ACTIONS => {
1397 ";" => 43,
1398 'error' => 44
1399 },
1400 GOTOS => {
1401 'check_semicolon' => 260
1402 }
1403 },
1404 {#State 166
1405 ACTIONS => {
1406 "(" => 261,
1407 'error' => 262
1408 },
1409 GOTOS => {
1410 'parameter_dcls' => 263
1411 }
1412 },
1413 {#State 167
1414 ACTIONS => {
1415 "}" => 264
1416 }
1417 },
1418 {#State 168
1419 ACTIONS => {
1420 ";" => 43,
1421 'error' => 44
1422 },
1423 GOTOS => {
1424 'check_semicolon' => 265
1425 }
1426 },
1427 {#State 169
1428 DEFAULT => -235
1429 },
1430 {#State 170
1431 ACTIONS => {
1432 ";" => 43,
1433 'error' => 44
1434 },
1435 GOTOS => {
1436 'check_semicolon' => 266
1437 }
1438 },
1439 {#State 171
1440 DEFAULT => -29
1441 },
1442 {#State 172
1443 ACTIONS => {
1444 "}" => 267
1445 }
1446 },
1447 {#State 173
1448 DEFAULT => -219
1449 },
1450 {#State 174
1451 DEFAULT => -11
1452 },
1453 {#State 175
1454 ACTIONS => {
1455 'error' => 268,
1456 "=" => 269
1457 }
1458 },
1459 {#State 176
1460 DEFAULT => -51
1461 },
1462 {#State 177
1463 DEFAULT => -223
1464 },
1465 {#State 178
1466 ACTIONS => {
1467 "}" => 270
1468 }
1469 },
1470 {#State 179
1471 ACTIONS => {
1472 "}" => 271
1473 }
1474 },
1475 {#State 180
1476 ACTIONS => {
1477 "::" => 142
1478 },
1479 DEFAULT => -42
1480 },
1481 {#State 181
1482 DEFAULT => -38
1483 },
1484 {#State 182
1485 DEFAULT => -37
1486 },
1487 {#State 183
1488 ACTIONS => {
1489 "," => 272
1490 },
1491 DEFAULT => -40
1492 },
1493 {#State 184
1494 DEFAULT => -199
1495 },
1496 {#State 185
1497 ACTIONS => {
1498 'IDENTIFIER' => 124
1499 },
1500 DEFAULT => -198,
1501 GOTOS => {
1502 'enumerators' => 273,
1503 'enumerator' => 125
1504 }
1505 },
1506 {#State 186
1507 DEFAULT => -192
1508 },
1509 {#State 187
1510 DEFAULT => -191
1511 },
1512 {#State 188
1513 DEFAULT => -14
1514 },
1515 {#State 189
1516 DEFAULT => -15
1517 },
1518 {#State 190
1519 ACTIONS => {
1520 'LONG' => 140
1521 },
1522 DEFAULT => -147
1523 },
1524 {#State 191
1525 DEFAULT => -178
1526 },
1527 {#State 192
1528 ACTIONS => {
1529 "::" => 142
1530 },
1531 DEFAULT => -179
1532 },
1533 {#State 193
1534 DEFAULT => -176
1535 },
1536 {#State 194
1537 DEFAULT => -175
1538 },
1539 {#State 195
1540 ACTIONS => {
1541 ")" => 274
1542 }
1543 },
1544 {#State 196
1545 ACTIONS => {
1546 ")" => 275
1547 }
1548 },
1549 {#State 197
1550 DEFAULT => -177
1551 },
1552 {#State 198
1553 DEFAULT => -161
1554 },
1555 {#State 199
1556 DEFAULT => -166
1557 },
1558 {#State 200
1559 ACTIONS => {
1560 ";" => 43,
1561 'error' => 44
1562 },
1563 GOTOS => {
1564 'check_semicolon' => 276
1565 }
1566 },
1567 {#State 201
1568 DEFAULT => -162
1569 },
1570 {#State 202
1571 DEFAULT => -154
1572 },
1573 {#State 203
1574 DEFAULT => -46
1575 },
1576 {#State 204
1577 DEFAULT => -47
1578 },
1579 {#State 205
1580 DEFAULT => -212
1581 },
1582 {#State 206
1583 ACTIONS => {
1584 "-" => 211,
1585 "::" => 72,
1586 'TRUE' => 224,
1587 "+" => 225,
1588 "~" => 212,
1589 'INTEGER_LITERAL' => 226,
1590 'FLOATING_PT_LITERAL' => 228,
1591 'FALSE' => 214,
1592 'error' => 277,
1593 'WIDE_STRING_LITERAL' => 230,
1594 'CHARACTER_LITERAL' => 231,
1595 'IDENTIFIER' => 59,
1596 "(" => 221,
1597 'FIXED_PT_LITERAL' => 235,
1598 'STRING_LITERAL' => 238,
1599 'WIDE_CHARACTER_LITERAL' => 223
1600 },
1601 GOTOS => {
1602 'shift_expr' => 227,
1603 'literal' => 213,
1604 'const_exp' => 215,
1605 'unary_operator' => 216,
1606 'string_literal' => 217,
1607 'and_expr' => 218,
1608 'or_expr' => 219,
1609 'mult_expr' => 232,
1610 'scoped_name' => 220,
1611 'boolean_literal' => 233,
1612 'add_expr' => 234,
1613 'positive_int_const' => 278,
1614 'unary_expr' => 222,
1615 'primary_expr' => 237,
1616 'wide_string_literal' => 239,
1617 'xor_expr' => 240
1618 }
1619 },
1620 {#State 207
1621 ACTIONS => {
1622 "[" => 206
1623 },
1624 DEFAULT => -213,
1625 GOTOS => {
1626 'fixed_array_sizes' => 279,
1627 'fixed_array_size' => 207
1628 }
1629 },
1630 {#State 208
1631 ACTIONS => {
1632 'IDENTIFIER' => 146,
1633 'error' => 148
1634 },
1635 GOTOS => {
1636 'declarators' => 280,
1637 'array_declarator' => 150,
1638 'simple_declarator' => 145,
1639 'declarator' => 147,
1640 'complex_declarator' => 151
1641 }
1642 },
1643 {#State 209
1644 DEFAULT => -136
1645 },
1646 {#State 210
1647 DEFAULT => -135
1648 },
1649 {#State 211
1650 DEFAULT => -81
1651 },
1652 {#State 212
1653 DEFAULT => -83
1654 },
1655 {#State 213
1656 DEFAULT => -85
1657 },
1658 {#State 214
1659 DEFAULT => -101
1660 },
1661 {#State 215
1662 DEFAULT => -102
1663 },
1664 {#State 216
1665 ACTIONS => {
1666 "::" => 72,
1667 'TRUE' => 224,
1668 'IDENTIFIER' => 59,
1669 'INTEGER_LITERAL' => 226,
1670 'FLOATING_PT_LITERAL' => 228,
1671 'FIXED_PT_LITERAL' => 235,
1672 "(" => 221,
1673 'FALSE' => 214,
1674 'STRING_LITERAL' => 238,
1675 'WIDE_CHARACTER_LITERAL' => 223,
1676 'WIDE_STRING_LITERAL' => 230,
1677 'CHARACTER_LITERAL' => 231
1678 },
1679 GOTOS => {
1680 'literal' => 213,
1681 'primary_expr' => 281,
1682 'scoped_name' => 220,
1683 'wide_string_literal' => 239,
1684 'boolean_literal' => 233,
1685 'string_literal' => 217
1686 }
1687 },
1688 {#State 217
1689 DEFAULT => -89
1690 },
1691 {#State 218
1692 ACTIONS => {
1693 "&" => 282
1694 },
1695 DEFAULT => -65
1696 },
1697 {#State 219
1698 ACTIONS => {
1699 "|" => 283
1700 },
1701 DEFAULT => -62
1702 },
1703 {#State 220
1704 ACTIONS => {
1705 "::" => 142
1706 },
1707 DEFAULT => -84
1708 },
1709 {#State 221
1710 ACTIONS => {
1711 "-" => 211,
1712 "::" => 72,
1713 'TRUE' => 224,
1714 "+" => 225,
1715 "~" => 212,
1716 'INTEGER_LITERAL' => 226,
1717 'FLOATING_PT_LITERAL' => 228,
1718 'FALSE' => 214,
1719 'error' => 285,
1720 'WIDE_STRING_LITERAL' => 230,
1721 'CHARACTER_LITERAL' => 231,
1722 'IDENTIFIER' => 59,
1723 "(" => 221,
1724 'FIXED_PT_LITERAL' => 235,
1725 'STRING_LITERAL' => 238,
1726 'WIDE_CHARACTER_LITERAL' => 223
1727 },
1728 GOTOS => {
1729 'and_expr' => 218,
1730 'or_expr' => 219,
1731 'mult_expr' => 232,
1732 'shift_expr' => 227,
1733 'scoped_name' => 220,
1734 'boolean_literal' => 233,
1735 'add_expr' => 234,
1736 'literal' => 213,
1737 'primary_expr' => 237,
1738 'unary_expr' => 222,
1739 'unary_operator' => 216,
1740 'const_exp' => 284,
1741 'xor_expr' => 240,
1742 'wide_string_literal' => 239,
1743 'string_literal' => 217
1744 }
1745 },
1746 {#State 222
1747 DEFAULT => -75
1748 },
1749 {#State 223
1750 DEFAULT => -92
1751 },
1752 {#State 224
1753 DEFAULT => -100
1754 },
1755 {#State 225
1756 DEFAULT => -82
1757 },
1758 {#State 226
1759 DEFAULT => -88
1760 },
1761 {#State 227
1762 ACTIONS => {
1763 "<<" => 287,
1764 ">>" => 286
1765 },
1766 DEFAULT => -67
1767 },
1768 {#State 228
1769 DEFAULT => -94
1770 },
1771 {#State 229
1772 ACTIONS => {
1773 ">" => 288
1774 }
1775 },
1776 {#State 230
1777 ACTIONS => {
1778 'WIDE_STRING_LITERAL' => 230
1779 },
1780 DEFAULT => -98,
1781 GOTOS => {
1782 'wide_string_literal' => 289
1783 }
1784 },
1785 {#State 231
1786 DEFAULT => -91
1787 },
1788 {#State 232
1789 ACTIONS => {
1790 "%" => 290,
1791 "*" => 291,
1792 "/" => 292
1793 },
1794 DEFAULT => -72
1795 },
1796 {#State 233
1797 DEFAULT => -95
1798 },
1799 {#State 234
1800 ACTIONS => {
1801 "-" => 293,
1802 "+" => 294
1803 },
1804 DEFAULT => -69
1805 },
1806 {#State 235
1807 DEFAULT => -93
1808 },
1809 {#State 236
1810 ACTIONS => {
1811 ">" => 295
1812 }
1813 },
1814 {#State 237
1815 DEFAULT => -80
1816 },
1817 {#State 238
1818 ACTIONS => {
1819 'STRING_LITERAL' => 238
1820 },
1821 DEFAULT => -96,
1822 GOTOS => {
1823 'string_literal' => 296
1824 }
1825 },
1826 {#State 239
1827 DEFAULT => -90
1828 },
1829 {#State 240
1830 ACTIONS => {
1831 "^" => 297
1832 },
1833 DEFAULT => -63
1834 },
1835 {#State 241
1836 ACTIONS => {
1837 ">" => 298
1838 }
1839 },
1840 {#State 242
1841 ACTIONS => {
1842 ">" => 299
1843 }
1844 },
1845 {#State 243
1846 ACTIONS => {
1847 ">" => 300
1848 }
1849 },
1850 {#State 244
1851 ACTIONS => {
1852 "," => 302,
1853 ">" => 301
1854 }
1855 },
1856 {#State 245
1857 ACTIONS => {
1858 ">" => 303
1859 }
1860 },
1861 {#State 246
1862 ACTIONS => {
1863 "," => 304
1864 }
1865 },
1866 {#State 247
1867 ACTIONS => {
1868 "::" => 72,
1869 'ENUM' => 2,
1870 'CHAR' => 73,
1871 'OBJECT' => 77,
1872 'STRING' => 80,
1873 'OCTET' => 49,
1874 'WSTRING' => 82,
1875 'UNION' => 10,
1876 'UNSIGNED' => 51,
1877 'error' => 310,
1878 'ANY' => 52,
1879 'FLOAT' => 86,
1880 'LONG' => 54,
1881 'SEQUENCE' => 87,
1882 'IDENTIFIER' => 59,
1883 'DOUBLE' => 88,
1884 'SHORT' => 89,
1885 'BOOLEAN' => 91,
1886 'STRUCT' => 24,
1887 'VOID' => 305,
1888 'FIXED' => 94,
1889 'WCHAR' => 69
1890 },
1891 GOTOS => {
1892 'wide_string_type' => 255,
1893 'union_type' => 47,
1894 'object_type' => 74,
1895 'integer_type' => 76,
1896 'unsigned_int' => 79,
1897 'sequence_type' => 307,
1898 'enum_header' => 4,
1899 'op_param_type_spec' => 308,
1900 'unsigned_short_int' => 48,
1901 'unsigned_longlong_int' => 81,
1902 'struct_type' => 50,
1903 'union_header' => 9,
1904 'constr_type_spec' => 309,
1905 'struct_header' => 13,
1906 'floating_pt_type' => 85,
1907 'signed_longlong_int' => 55,
1908 'enum_type' => 56,
1909 'any_type' => 57,
1910 'base_type_spec' => 258,
1911 'unsigned_long_int' => 60,
1912 'scoped_name' => 251,
1913 'signed_int' => 92,
1914 'string_type' => 252,
1915 'char_type' => 63,
1916 'param_type_spec' => 306,
1917 'fixed_pt_type' => 254,
1918 'signed_long_int' => 65,
1919 'signed_short_int' => 66,
1920 'boolean_type' => 95,
1921 'wide_char_type' => 68,
1922 'octet_type' => 70
1923 }
1924 },
1925 {#State 248
1926 DEFAULT => -34
1927 },
1928 {#State 249
1929 DEFAULT => -32
1930 },
1931 {#State 250
1932 DEFAULT => -31
1933 },
1934 {#State 251
1935 ACTIONS => {
1936 "::" => 142
1937 },
1938 DEFAULT => -274
1939 },
1940 {#State 252
1941 DEFAULT => -271
1942 },
1943 {#State 253
1944 DEFAULT => -237
1945 },
1946 {#State 254
1947 DEFAULT => -273
1948 },
1949 {#State 255
1950 DEFAULT => -272
1951 },
1952 {#State 256
1953 DEFAULT => -238
1954 },
1955 {#State 257
1956 DEFAULT => -236
1957 },
1958 {#State 258
1959 DEFAULT => -270
1960 },
1961 {#State 259
1962 ACTIONS => {
1963 'IDENTIFIER' => 311,
1964 'error' => 312
1965 }
1966 },
1967 {#State 260
1968 DEFAULT => -33
1969 },
1970 {#State 261
1971 ACTIONS => {
1972 "::" => -252,
1973 'ENUM' => -252,
1974 'CHAR' => -252,
1975 'OBJECT' => -252,
1976 'STRING' => -252,
1977 'OCTET' => -252,
1978 'WSTRING' => -252,
1979 'UNION' => -252,
1980 'UNSIGNED' => -252,
1981 'error' => 318,
1982 'ANY' => -252,
1983 'FLOAT' => -252,
1984 ")" => 319,
1985 'LONG' => -252,
1986 'SEQUENCE' => -252,
1987 'IDENTIFIER' => -252,
1988 'DOUBLE' => -252,
1989 'SHORT' => -252,
1990 'BOOLEAN' => -252,
1991 'INOUT' => 314,
1992 "..." => 320,
1993 'STRUCT' => -252,
1994 'OUT' => 315,
1995 'IN' => 321,
1996 'VOID' => -252,
1997 'FIXED' => -252,
1998 'WCHAR' => -252
1999 },
2000 GOTOS => {
2001 'param_attribute' => 313,
2002 'param_dcl' => 316,
2003 'param_dcls' => 317
2004 }
2005 },
2006 {#State 262
2007 DEFAULT => -230
2008 },
2009 {#State 263
2010 ACTIONS => {
2011 'RAISES' => 322
2012 },
2013 DEFAULT => -256,
2014 GOTOS => {
2015 'raises_expr' => 323
2016 }
2017 },
2018 {#State 264
2019 DEFAULT => -23
2020 },
2021 {#State 265
2022 DEFAULT => -36
2023 },
2024 {#State 266
2025 DEFAULT => -35
2026 },
2027 {#State 267
2028 DEFAULT => -24
2029 },
2030 {#State 268
2031 DEFAULT => -50
2032 },
2033 {#State 269
2034 ACTIONS => {
2035 "-" => 211,
2036 "::" => 72,
2037 'TRUE' => 224,
2038 "+" => 225,
2039 "~" => 212,
2040 'INTEGER_LITERAL' => 226,
2041 'FLOATING_PT_LITERAL' => 228,
2042 'FALSE' => 214,
2043 'error' => 325,
2044 'WIDE_STRING_LITERAL' => 230,
2045 'CHARACTER_LITERAL' => 231,
2046 'IDENTIFIER' => 59,
2047 "(" => 221,
2048 'FIXED_PT_LITERAL' => 235,
2049 'STRING_LITERAL' => 238,
2050 'WIDE_CHARACTER_LITERAL' => 223
2051 },
2052 GOTOS => {
2053 'and_expr' => 218,
2054 'or_expr' => 219,
2055 'mult_expr' => 232,
2056 'shift_expr' => 227,
2057 'scoped_name' => 220,
2058 'boolean_literal' => 233,
2059 'add_expr' => 234,
2060 'literal' => 213,
2061 'primary_expr' => 237,
2062 'unary_expr' => 222,
2063 'unary_operator' => 216,
2064 'const_exp' => 324,
2065 'xor_expr' => 240,
2066 'wide_string_literal' => 239,
2067 'string_literal' => 217
2068 }
2069 },
2070 {#State 270
2071 DEFAULT => -224
2072 },
2073 {#State 271
2074 DEFAULT => -225
2075 },
2076 {#State 272
2077 ACTIONS => {
2078 "::" => 72,
2079 'IDENTIFIER' => 59
2080 },
2081 GOTOS => {
2082 'interface_name' => 183,
2083 'interface_names' => 326,
2084 'scoped_name' => 180
2085 }
2086 },
2087 {#State 273
2088 DEFAULT => -197
2089 },
2090 {#State 274
2091 DEFAULT => -171
2092 },
2093 {#State 275
2094 ACTIONS => {
2095 "{" => 328,
2096 'error' => 327
2097 }
2098 },
2099 {#State 276
2100 DEFAULT => -167
2101 },
2102 {#State 277
2103 ACTIONS => {
2104 "]" => 329
2105 }
2106 },
2107 {#State 278
2108 ACTIONS => {
2109 "]" => 330
2110 }
2111 },
2112 {#State 279
2113 DEFAULT => -214
2114 },
2115 {#State 280
2116 DEFAULT => -131
2117 },
2118 {#State 281
2119 DEFAULT => -79
2120 },
2121 {#State 282
2122 ACTIONS => {
2123 "-" => 211,
2124 "::" => 72,
2125 'TRUE' => 224,
2126 'IDENTIFIER' => 59,
2127 "+" => 225,
2128 "~" => 212,
2129 'INTEGER_LITERAL' => 226,
2130 'FLOATING_PT_LITERAL' => 228,
2131 'FIXED_PT_LITERAL' => 235,
2132 "(" => 221,
2133 'FALSE' => 214,
2134 'STRING_LITERAL' => 238,
2135 'WIDE_STRING_LITERAL' => 230,
2136 'WIDE_CHARACTER_LITERAL' => 223,
2137 'CHARACTER_LITERAL' => 231
2138 },
2139 GOTOS => {
2140 'mult_expr' => 232,
2141 'shift_expr' => 331,
2142 'scoped_name' => 220,
2143 'boolean_literal' => 233,
2144 'add_expr' => 234,
2145 'literal' => 213,
2146 'primary_expr' => 237,
2147 'unary_expr' => 222,
2148 'unary_operator' => 216,
2149 'wide_string_literal' => 239,
2150 'string_literal' => 217
2151 }
2152 },
2153 {#State 283
2154 ACTIONS => {
2155 "-" => 211,
2156 "::" => 72,
2157 'TRUE' => 224,
2158 'IDENTIFIER' => 59,
2159 "+" => 225,
2160 "~" => 212,
2161 'INTEGER_LITERAL' => 226,
2162 'FLOATING_PT_LITERAL' => 228,
2163 'FIXED_PT_LITERAL' => 235,
2164 "(" => 221,
2165 'FALSE' => 214,
2166 'STRING_LITERAL' => 238,
2167 'WIDE_STRING_LITERAL' => 230,
2168 'WIDE_CHARACTER_LITERAL' => 223,
2169 'CHARACTER_LITERAL' => 231
2170 },
2171 GOTOS => {
2172 'and_expr' => 218,
2173 'mult_expr' => 232,
2174 'shift_expr' => 227,
2175 'scoped_name' => 220,
2176 'boolean_literal' => 233,
2177 'add_expr' => 234,
2178 'literal' => 213,
2179 'primary_expr' => 237,
2180 'unary_expr' => 222,
2181 'unary_operator' => 216,
2182 'xor_expr' => 332,
2183 'wide_string_literal' => 239,
2184 'string_literal' => 217
2185 }
2186 },
2187 {#State 284
2188 ACTIONS => {
2189 ")" => 333
2190 }
2191 },
2192 {#State 285
2193 ACTIONS => {
2194 ")" => 334
2195 }
2196 },
2197 {#State 286
2198 ACTIONS => {
2199 "-" => 211,
2200 "::" => 72,
2201 'TRUE' => 224,
2202 'IDENTIFIER' => 59,
2203 "+" => 225,
2204 "~" => 212,
2205 'INTEGER_LITERAL' => 226,
2206 'FLOATING_PT_LITERAL' => 228,
2207 'FIXED_PT_LITERAL' => 235,
2208 "(" => 221,
2209 'FALSE' => 214,
2210 'STRING_LITERAL' => 238,
2211 'WIDE_STRING_LITERAL' => 230,
2212 'WIDE_CHARACTER_LITERAL' => 223,
2213 'CHARACTER_LITERAL' => 231
2214 },
2215 GOTOS => {
2216 'mult_expr' => 232,
2217 'scoped_name' => 220,
2218 'boolean_literal' => 233,
2219 'literal' => 213,
2220 'add_expr' => 335,
2221 'primary_expr' => 237,
2222 'unary_expr' => 222,
2223 'unary_operator' => 216,
2224 'wide_string_literal' => 239,
2225 'string_literal' => 217
2226 }
2227 },
2228 {#State 287
2229 ACTIONS => {
2230 "-" => 211,
2231 "::" => 72,
2232 'TRUE' => 224,
2233 'IDENTIFIER' => 59,
2234 "+" => 225,
2235 "~" => 212,
2236 'INTEGER_LITERAL' => 226,
2237 'FLOATING_PT_LITERAL' => 228,
2238 'FIXED_PT_LITERAL' => 235,
2239 "(" => 221,
2240 'FALSE' => 214,
2241 'STRING_LITERAL' => 238,
2242 'WIDE_STRING_LITERAL' => 230,
2243 'WIDE_CHARACTER_LITERAL' => 223,
2244 'CHARACTER_LITERAL' => 231
2245 },
2246 GOTOS => {
2247 'mult_expr' => 232,
2248 'scoped_name' => 220,
2249 'boolean_literal' => 233,
2250 'literal' => 213,
2251 'add_expr' => 336,
2252 'primary_expr' => 237,
2253 'unary_expr' => 222,
2254 'unary_operator' => 216,
2255 'wide_string_literal' => 239,
2256 'string_literal' => 217
2257 }
2258 },
2259 {#State 288
2260 DEFAULT => -208
2261 },
2262 {#State 289
2263 DEFAULT => -99
2264 },
2265 {#State 290
2266 ACTIONS => {
2267 "-" => 211,
2268 "::" => 72,
2269 'TRUE' => 224,
2270 'IDENTIFIER' => 59,
2271 "+" => 225,
2272 "~" => 212,
2273 'INTEGER_LITERAL' => 226,
2274 'FLOATING_PT_LITERAL' => 228,
2275 'FIXED_PT_LITERAL' => 235,
2276 "(" => 221,
2277 'FALSE' => 214,
2278 'STRING_LITERAL' => 238,
2279 'WIDE_STRING_LITERAL' => 230,
2280 'WIDE_CHARACTER_LITERAL' => 223,
2281 'CHARACTER_LITERAL' => 231
2282 },
2283 GOTOS => {
2284 'literal' => 213,
2285 'primary_expr' => 237,
2286 'unary_expr' => 337,
2287 'unary_operator' => 216,
2288 'scoped_name' => 220,
2289 'wide_string_literal' => 239,
2290 'boolean_literal' => 233,
2291 'string_literal' => 217
2292 }
2293 },
2294 {#State 291
2295 ACTIONS => {
2296 "-" => 211,
2297 "::" => 72,
2298 'TRUE' => 224,
2299 'IDENTIFIER' => 59,
2300 "+" => 225,
2301 "~" => 212,
2302 'INTEGER_LITERAL' => 226,
2303 'FLOATING_PT_LITERAL' => 228,
2304 'FIXED_PT_LITERAL' => 235,
2305 "(" => 221,
2306 'FALSE' => 214,
2307 'STRING_LITERAL' => 238,
2308 'WIDE_STRING_LITERAL' => 230,
2309 'WIDE_CHARACTER_LITERAL' => 223,
2310 'CHARACTER_LITERAL' => 231
2311 },
2312 GOTOS => {
2313 'literal' => 213,
2314 'primary_expr' => 237,
2315 'unary_expr' => 338,
2316 'unary_operator' => 216,
2317 'scoped_name' => 220,
2318 'wide_string_literal' => 239,
2319 'boolean_literal' => 233,
2320 'string_literal' => 217
2321 }
2322 },
2323 {#State 292
2324 ACTIONS => {
2325 "-" => 211,
2326 "::" => 72,
2327 'TRUE' => 224,
2328 'IDENTIFIER' => 59,
2329 "+" => 225,
2330 "~" => 212,
2331 'INTEGER_LITERAL' => 226,
2332 'FLOATING_PT_LITERAL' => 228,
2333 'FIXED_PT_LITERAL' => 235,
2334 "(" => 221,
2335 'FALSE' => 214,
2336 'STRING_LITERAL' => 238,
2337 'WIDE_STRING_LITERAL' => 230,
2338 'WIDE_CHARACTER_LITERAL' => 223,
2339 'CHARACTER_LITERAL' => 231
2340 },
2341 GOTOS => {
2342 'literal' => 213,
2343 'primary_expr' => 237,
2344 'unary_expr' => 339,
2345 'unary_operator' => 216,
2346 'scoped_name' => 220,
2347 'wide_string_literal' => 239,
2348 'boolean_literal' => 233,
2349 'string_literal' => 217
2350 }
2351 },
2352 {#State 293
2353 ACTIONS => {
2354 "-" => 211,
2355 "::" => 72,
2356 'TRUE' => 224,
2357 'IDENTIFIER' => 59,
2358 "+" => 225,
2359 "~" => 212,
2360 'INTEGER_LITERAL' => 226,
2361 'FLOATING_PT_LITERAL' => 228,
2362 'FIXED_PT_LITERAL' => 235,
2363 "(" => 221,
2364 'FALSE' => 214,
2365 'STRING_LITERAL' => 238,
2366 'WIDE_STRING_LITERAL' => 230,
2367 'WIDE_CHARACTER_LITERAL' => 223,
2368 'CHARACTER_LITERAL' => 231
2369 },
2370 GOTOS => {
2371 'mult_expr' => 340,
2372 'scoped_name' => 220,
2373 'boolean_literal' => 233,
2374 'literal' => 213,
2375 'unary_expr' => 222,
2376 'primary_expr' => 237,
2377 'unary_operator' => 216,
2378 'wide_string_literal' => 239,
2379 'string_literal' => 217
2380 }
2381 },
2382 {#State 294
2383 ACTIONS => {
2384 "-" => 211,
2385 "::" => 72,
2386 'TRUE' => 224,
2387 'IDENTIFIER' => 59,
2388 "+" => 225,
2389 "~" => 212,
2390 'INTEGER_LITERAL' => 226,
2391 'FLOATING_PT_LITERAL' => 228,
2392 'FIXED_PT_LITERAL' => 235,
2393 "(" => 221,
2394 'FALSE' => 214,
2395 'STRING_LITERAL' => 238,
2396 'WIDE_STRING_LITERAL' => 230,
2397 'WIDE_CHARACTER_LITERAL' => 223,
2398 'CHARACTER_LITERAL' => 231
2399 },
2400 GOTOS => {
2401 'mult_expr' => 341,
2402 'scoped_name' => 220,
2403 'boolean_literal' => 233,
2404 'literal' => 213,
2405 'unary_expr' => 222,
2406 'primary_expr' => 237,
2407 'unary_operator' => 216,
2408 'wide_string_literal' => 239,
2409 'string_literal' => 217
2410 }
2411 },
2412 {#State 295
2413 DEFAULT => -206
2414 },
2415 {#State 296
2416 DEFAULT => -97
2417 },
2418 {#State 297
2419 ACTIONS => {
2420 "-" => 211,
2421 "::" => 72,
2422 'TRUE' => 224,
2423 'IDENTIFIER' => 59,
2424 "+" => 225,
2425 "~" => 212,
2426 'INTEGER_LITERAL' => 226,
2427 'FLOATING_PT_LITERAL' => 228,
2428 'FIXED_PT_LITERAL' => 235,
2429 "(" => 221,
2430 'FALSE' => 214,
2431 'STRING_LITERAL' => 238,
2432 'WIDE_STRING_LITERAL' => 230,
2433 'WIDE_CHARACTER_LITERAL' => 223,
2434 'CHARACTER_LITERAL' => 231
2435 },
2436 GOTOS => {
2437 'and_expr' => 342,
2438 'mult_expr' => 232,
2439 'shift_expr' => 227,
2440 'scoped_name' => 220,
2441 'boolean_literal' => 233,
2442 'add_expr' => 234,
2443 'literal' => 213,
2444 'primary_expr' => 237,
2445 'unary_expr' => 222,
2446 'unary_operator' => 216,
2447 'wide_string_literal' => 239,
2448 'string_literal' => 217
2449 }
2450 },
2451 {#State 298
2452 DEFAULT => -211
2453 },
2454 {#State 299
2455 DEFAULT => -209
2456 },
2457 {#State 300
2458 DEFAULT => -204
2459 },
2460 {#State 301
2461 DEFAULT => -203
2462 },
2463 {#State 302
2464 ACTIONS => {
2465 "-" => 211,
2466 "::" => 72,
2467 'TRUE' => 224,
2468 "+" => 225,
2469 "~" => 212,
2470 'INTEGER_LITERAL' => 226,
2471 'FLOATING_PT_LITERAL' => 228,
2472 'FALSE' => 214,
2473 'error' => 343,
2474 'WIDE_STRING_LITERAL' => 230,
2475 'CHARACTER_LITERAL' => 231,
2476 'IDENTIFIER' => 59,
2477 "(" => 221,
2478 'FIXED_PT_LITERAL' => 235,
2479 'STRING_LITERAL' => 238,
2480 'WIDE_CHARACTER_LITERAL' => 223
2481 },
2482 GOTOS => {
2483 'shift_expr' => 227,
2484 'literal' => 213,
2485 'const_exp' => 215,
2486 'unary_operator' => 216,
2487 'string_literal' => 217,
2488 'and_expr' => 218,
2489 'or_expr' => 219,
2490 'mult_expr' => 232,
2491 'scoped_name' => 220,
2492 'boolean_literal' => 233,
2493 'add_expr' => 234,
2494 'positive_int_const' => 344,
2495 'unary_expr' => 222,
2496 'primary_expr' => 237,
2497 'wide_string_literal' => 239,
2498 'xor_expr' => 240
2499 }
2500 },
2501 {#State 303
2502 DEFAULT => -277
2503 },
2504 {#State 304
2505 ACTIONS => {
2506 "-" => 211,
2507 "::" => 72,
2508 'TRUE' => 224,
2509 "+" => 225,
2510 "~" => 212,
2511 'INTEGER_LITERAL' => 226,
2512 'FLOATING_PT_LITERAL' => 228,
2513 'FALSE' => 214,
2514 'error' => 345,
2515 'WIDE_STRING_LITERAL' => 230,
2516 'CHARACTER_LITERAL' => 231,
2517 'IDENTIFIER' => 59,
2518 "(" => 221,
2519 'FIXED_PT_LITERAL' => 235,
2520 'STRING_LITERAL' => 238,
2521 'WIDE_CHARACTER_LITERAL' => 223
2522 },
2523 GOTOS => {
2524 'shift_expr' => 227,
2525 'literal' => 213,
2526 'const_exp' => 215,
2527 'unary_operator' => 216,
2528 'string_literal' => 217,
2529 'and_expr' => 218,
2530 'or_expr' => 219,
2531 'mult_expr' => 232,
2532 'scoped_name' => 220,
2533 'boolean_literal' => 233,
2534 'add_expr' => 234,
2535 'positive_int_const' => 346,
2536 'unary_expr' => 222,
2537 'primary_expr' => 237,
2538 'wide_string_literal' => 239,
2539 'xor_expr' => 240
2540 }
2541 },
2542 {#State 305
2543 DEFAULT => -267
2544 },
2545 {#State 306
2546 ACTIONS => {
2547 'IDENTIFIER' => 348,
2548 'error' => 148
2549 },
2550 GOTOS => {
2551 'simple_declarators' => 349,
2552 'simple_declarator' => 347
2553 }
2554 },
2555 {#State 307
2556 DEFAULT => -268
2557 },
2558 {#State 308
2559 DEFAULT => -266
2560 },
2561 {#State 309
2562 DEFAULT => -269
2563 },
2564 {#State 310
2565 DEFAULT => -218
2566 },
2567 {#State 311
2568 DEFAULT => -231
2569 },
2570 {#State 312
2571 DEFAULT => -232
2572 },
2573 {#State 313
2574 ACTIONS => {
2575 "::" => 72,
2576 'ENUM' => 2,
2577 'CHAR' => 73,
2578 'OBJECT' => 77,
2579 'STRING' => 80,
2580 'OCTET' => 49,
2581 'WSTRING' => 82,
2582 'UNION' => 10,
2583 'UNSIGNED' => 51,
2584 'ANY' => 52,
2585 'FLOAT' => 86,
2586 'LONG' => 54,
2587 'SEQUENCE' => 87,
2588 'IDENTIFIER' => 59,
2589 'DOUBLE' => 88,
2590 'SHORT' => 89,
2591 'BOOLEAN' => 91,
2592 'STRUCT' => 24,
2593 'VOID' => 305,
2594 'FIXED' => 94,
2595 'WCHAR' => 69
2596 },
2597 GOTOS => {
2598 'wide_string_type' => 255,
2599 'union_type' => 47,
2600 'object_type' => 74,
2601 'integer_type' => 76,
2602 'unsigned_int' => 79,
2603 'sequence_type' => 307,
2604 'enum_header' => 4,
2605 'op_param_type_spec' => 308,
2606 'unsigned_short_int' => 48,
2607 'unsigned_longlong_int' => 81,
2608 'struct_type' => 50,
2609 'union_header' => 9,
2610 'constr_type_spec' => 309,
2611 'struct_header' => 13,
2612 'floating_pt_type' => 85,
2613 'signed_longlong_int' => 55,
2614 'enum_type' => 56,
2615 'any_type' => 57,
2616 'base_type_spec' => 258,
2617 'unsigned_long_int' => 60,
2618 'scoped_name' => 251,
2619 'signed_int' => 92,
2620 'string_type' => 252,
2621 'char_type' => 63,
2622 'param_type_spec' => 350,
2623 'fixed_pt_type' => 254,
2624 'signed_long_int' => 65,
2625 'signed_short_int' => 66,
2626 'boolean_type' => 95,
2627 'wide_char_type' => 68,
2628 'octet_type' => 70
2629 }
2630 },
2631 {#State 314
2632 DEFAULT => -251
2633 },
2634 {#State 315
2635 DEFAULT => -250
2636 },
2637 {#State 316
2638 ACTIONS => {
2639 ";" => 351
2640 },
2641 DEFAULT => -245
2642 },
2643 {#State 317
2644 ACTIONS => {
2645 "," => 352,
2646 ")" => 353
2647 }
2648 },
2649 {#State 318
2650 ACTIONS => {
2651 ")" => 354
2652 }
2653 },
2654 {#State 319
2655 DEFAULT => -242
2656 },
2657 {#State 320
2658 ACTIONS => {
2659 ")" => 355
2660 }
2661 },
2662 {#State 321
2663 DEFAULT => -249
2664 },
2665 {#State 322
2666 ACTIONS => {
2667 "(" => 356,
2668 'error' => 357
2669 }
2670 },
2671 {#State 323
2672 ACTIONS => {
2673 'CONTEXT' => 359
2674 },
2675 DEFAULT => -263,
2676 GOTOS => {
2677 'context_expr' => 358
2678 }
2679 },
2680 {#State 324
2681 DEFAULT => -48
2682 },
2683 {#State 325
2684 DEFAULT => -49
2685 },
2686 {#State 326
2687 DEFAULT => -41
2688 },
2689 {#State 327
2690 DEFAULT => -170
2691 },
2692 {#State 328
2693 ACTIONS => {
2694 'DEFAULT' => 365,
2695 'error' => 363,
2696 'CASE' => 360
2697 },
2698 GOTOS => {
2699 'case_label' => 366,
2700 'switch_body' => 361,
2701 'case' => 362,
2702 'case_labels' => 364
2703 }
2704 },
2705 {#State 329
2706 DEFAULT => -216
2707 },
2708 {#State 330
2709 DEFAULT => -215
2710 },
2711 {#State 331
2712 ACTIONS => {
2713 "<<" => 287,
2714 ">>" => 286
2715 },
2716 DEFAULT => -68
2717 },
2718 {#State 332
2719 ACTIONS => {
2720 "^" => 297
2721 },
2722 DEFAULT => -64
2723 },
2724 {#State 333
2725 DEFAULT => -86
2726 },
2727 {#State 334
2728 DEFAULT => -87
2729 },
2730 {#State 335
2731 ACTIONS => {
2732 "-" => 293,
2733 "+" => 294
2734 },
2735 DEFAULT => -70
2736 },
2737 {#State 336
2738 ACTIONS => {
2739 "-" => 293,
2740 "+" => 294
2741 },
2742 DEFAULT => -71
2743 },
2744 {#State 337
2745 DEFAULT => -78
2746 },
2747 {#State 338
2748 DEFAULT => -76
2749 },
2750 {#State 339
2751 DEFAULT => -77
2752 },
2753 {#State 340
2754 ACTIONS => {
2755 "%" => 290,
2756 "*" => 291,
2757 "/" => 292
2758 },
2759 DEFAULT => -74
2760 },
2761 {#State 341
2762 ACTIONS => {
2763 "%" => 290,
2764 "*" => 291,
2765 "/" => 292
2766 },
2767 DEFAULT => -73
2768 },
2769 {#State 342
2770 ACTIONS => {
2771 "&" => 282
2772 },
2773 DEFAULT => -66
2774 },
2775 {#State 343
2776 ACTIONS => {
2777 ">" => 367
2778 }
2779 },
2780 {#State 344
2781 ACTIONS => {
2782 ">" => 368
2783 }
2784 },
2785 {#State 345
2786 ACTIONS => {
2787 ">" => 369
2788 }
2789 },
2790 {#State 346
2791 ACTIONS => {
2792 ">" => 370
2793 }
2794 },
2795 {#State 347
2796 ACTIONS => {
2797 "," => 371
2798 },
2799 DEFAULT => -221
2800 },
2801 {#State 348
2802 DEFAULT => -134
2803 },
2804 {#State 349
2805 DEFAULT => -217
2806 },
2807 {#State 350
2808 ACTIONS => {
2809 'IDENTIFIER' => 348,
2810 'error' => 148
2811 },
2812 GOTOS => {
2813 'simple_declarator' => 372
2814 }
2815 },
2816 {#State 351
2817 DEFAULT => -247
2818 },
2819 {#State 352
2820 ACTIONS => {
2821 ")" => 374,
2822 'INOUT' => 314,
2823 "..." => 375,
2824 'OUT' => 315,
2825 'IN' => 321
2826 },
2827 DEFAULT => -252,
2828 GOTOS => {
2829 'param_attribute' => 313,
2830 'param_dcl' => 373
2831 }
2832 },
2833 {#State 353
2834 DEFAULT => -239
2835 },
2836 {#State 354
2837 DEFAULT => -244
2838 },
2839 {#State 355
2840 DEFAULT => -243
2841 },
2842 {#State 356
2843 ACTIONS => {
2844 "::" => 72,
2845 'IDENTIFIER' => 59,
2846 'error' => 377
2847 },
2848 GOTOS => {
2849 'exception_names' => 378,
2850 'scoped_name' => 376,
2851 'exception_name' => 379
2852 }
2853 },
2854 {#State 357
2855 DEFAULT => -255
2856 },
2857 {#State 358
2858 DEFAULT => -229
2859 },
2860 {#State 359
2861 ACTIONS => {
2862 "(" => 380,
2863 'error' => 381
2864 }
2865 },
2866 {#State 360
2867 ACTIONS => {
2868 "-" => 211,
2869 "::" => 72,
2870 'TRUE' => 224,
2871 "+" => 225,
2872 "~" => 212,
2873 'INTEGER_LITERAL' => 226,
2874 'FLOATING_PT_LITERAL' => 228,
2875 'FALSE' => 214,
2876 'error' => 383,
2877 'WIDE_STRING_LITERAL' => 230,
2878 'CHARACTER_LITERAL' => 231,
2879 'IDENTIFIER' => 59,
2880 "(" => 221,
2881 'FIXED_PT_LITERAL' => 235,
2882 'STRING_LITERAL' => 238,
2883 'WIDE_CHARACTER_LITERAL' => 223
2884 },
2885 GOTOS => {
2886 'and_expr' => 218,
2887 'or_expr' => 219,
2888 'mult_expr' => 232,
2889 'shift_expr' => 227,
2890 'scoped_name' => 220,
2891 'boolean_literal' => 233,
2892 'add_expr' => 234,
2893 'literal' => 213,
2894 'primary_expr' => 237,
2895 'unary_expr' => 222,
2896 'unary_operator' => 216,
2897 'const_exp' => 382,
2898 'xor_expr' => 240,
2899 'wide_string_literal' => 239,
2900 'string_literal' => 217
2901 }
2902 },
2903 {#State 361
2904 ACTIONS => {
2905 "}" => 384
2906 }
2907 },
2908 {#State 362
2909 ACTIONS => {
2910 'DEFAULT' => 365,
2911 'CASE' => 360
2912 },
2913 DEFAULT => -180,
2914 GOTOS => {
2915 'case_label' => 366,
2916 'switch_body' => 385,
2917 'case' => 362,
2918 'case_labels' => 364
2919 }
2920 },
2921 {#State 363
2922 ACTIONS => {
2923 "}" => 386
2924 }
2925 },
2926 {#State 364
2927 ACTIONS => {
2928 "::" => 72,
2929 'ENUM' => 2,
2930 'CHAR' => 73,
2931 'OBJECT' => 77,
2932 'STRING' => 80,
2933 'OCTET' => 49,
2934 'WSTRING' => 82,
2935 'UNION' => 10,
2936 'UNSIGNED' => 51,
2937 'ANY' => 52,
2938 'FLOAT' => 86,
2939 'LONG' => 54,
2940 'SEQUENCE' => 87,
2941 'IDENTIFIER' => 59,
2942 'DOUBLE' => 88,
2943 'SHORT' => 89,
2944 'BOOLEAN' => 91,
2945 'STRUCT' => 24,
2946 'VOID' => 64,
2947 'FIXED' => 94,
2948 'WCHAR' => 69
2949 },
2950 GOTOS => {
2951 'union_type' => 47,
2952 'enum_header' => 4,
2953 'unsigned_short_int' => 48,
2954 'struct_type' => 50,
2955 'union_header' => 9,
2956 'struct_header' => 13,
2957 'signed_longlong_int' => 55,
2958 'enum_type' => 56,
2959 'any_type' => 57,
2960 'template_type_spec' => 58,
2961 'element_spec' => 387,
2962 'unsigned_long_int' => 60,
2963 'scoped_name' => 61,
2964 'string_type' => 62,
2965 'char_type' => 63,
2966 'fixed_pt_type' => 67,
2967 'signed_short_int' => 66,
2968 'signed_long_int' => 65,
2969 'wide_char_type' => 68,
2970 'octet_type' => 70,
2971 'wide_string_type' => 71,
2972 'object_type' => 74,
2973 'type_spec' => 388,
2974 'integer_type' => 76,
2975 'unsigned_int' => 79,
2976 'sequence_type' => 78,
2977 'unsigned_longlong_int' => 81,
2978 'constr_type_spec' => 83,
2979 'floating_pt_type' => 85,
2980 'base_type_spec' => 90,
2981 'signed_int' => 92,
2982 'simple_type_spec' => 93,
2983 'boolean_type' => 95
2984 }
2985 },
2986 {#State 365
2987 ACTIONS => {
2988 ":" => 389,
2989 'error' => 390
2990 }
2991 },
2992 {#State 366
2993 ACTIONS => {
2994 'CASE' => 360,
2995 'DEFAULT' => 365
2996 },
2997 DEFAULT => -183,
2998 GOTOS => {
2999 'case_label' => 366,
3000 'case_labels' => 391
3001 }
3002 },
3003 {#State 367
3004 DEFAULT => -202
3005 },
3006 {#State 368
3007 DEFAULT => -201
3008 },
3009 {#State 369
3010 DEFAULT => -276
3011 },
3012 {#State 370
3013 DEFAULT => -275
3014 },
3015 {#State 371
3016 ACTIONS => {
3017 'IDENTIFIER' => 348,
3018 'error' => 148
3019 },
3020 GOTOS => {
3021 'simple_declarators' => 392,
3022 'simple_declarator' => 347
3023 }
3024 },
3025 {#State 372
3026 DEFAULT => -248
3027 },
3028 {#State 373
3029 DEFAULT => -246
3030 },
3031 {#State 374
3032 DEFAULT => -241
3033 },
3034 {#State 375
3035 ACTIONS => {
3036 ")" => 393
3037 }
3038 },
3039 {#State 376
3040 ACTIONS => {
3041 "::" => 142
3042 },
3043 DEFAULT => -259
3044 },
3045 {#State 377
3046 ACTIONS => {
3047 ")" => 394
3048 }
3049 },
3050 {#State 378
3051 ACTIONS => {
3052 ")" => 395
3053 }
3054 },
3055 {#State 379
3056 ACTIONS => {
3057 "," => 396
3058 },
3059 DEFAULT => -257
3060 },
3061 {#State 380
3062 ACTIONS => {
3063 'STRING_LITERAL' => 238,
3064 'error' => 399
3065 },
3066 GOTOS => {
3067 'string_literals' => 398,
3068 'string_literal' => 397
3069 }
3070 },
3071 {#State 381
3072 DEFAULT => -262
3073 },
3074 {#State 382
3075 ACTIONS => {
3076 ":" => 400,
3077 'error' => 401
3078 }
3079 },
3080 {#State 383
3081 DEFAULT => -187
3082 },
3083 {#State 384
3084 DEFAULT => -168
3085 },
3086 {#State 385
3087 DEFAULT => -181
3088 },
3089 {#State 386
3090 DEFAULT => -169
3091 },
3092 {#State 387
3093 ACTIONS => {
3094 ";" => 43,
3095 'error' => 44
3096 },
3097 GOTOS => {
3098 'check_semicolon' => 402
3099 }
3100 },
3101 {#State 388
3102 ACTIONS => {
3103 'IDENTIFIER' => 146,
3104 'error' => 148
3105 },
3106 GOTOS => {
3107 'array_declarator' => 150,
3108 'simple_declarator' => 145,
3109 'declarator' => 403,
3110 'complex_declarator' => 151
3111 }
3112 },
3113 {#State 389
3114 DEFAULT => -188
3115 },
3116 {#State 390
3117 DEFAULT => -189
3118 },
3119 {#State 391
3120 DEFAULT => -184
3121 },
3122 {#State 392
3123 DEFAULT => -222
3124 },
3125 {#State 393
3126 DEFAULT => -240
3127 },
3128 {#State 394
3129 DEFAULT => -254
3130 },
3131 {#State 395
3132 DEFAULT => -253
3133 },
3134 {#State 396
3135 ACTIONS => {
3136 "::" => 72,
3137 'IDENTIFIER' => 59
3138 },
3139 GOTOS => {
3140 'exception_names' => 404,
3141 'scoped_name' => 376,
3142 'exception_name' => 379
3143 }
3144 },
3145 {#State 397
3146 ACTIONS => {
3147 "," => 405
3148 },
3149 DEFAULT => -264
3150 },
3151 {#State 398
3152 ACTIONS => {
3153 ")" => 406
3154 }
3155 },
3156 {#State 399
3157 ACTIONS => {
3158 ")" => 407
3159 }
3160 },
3161 {#State 400
3162 DEFAULT => -185
3163 },
3164 {#State 401
3165 DEFAULT => -186
3166 },
3167 {#State 402
3168 DEFAULT => -182
3169 },
3170 {#State 403
3171 DEFAULT => -190
3172 },
3173 {#State 404
3174 DEFAULT => -258
3175 },
3176 {#State 405
3177 ACTIONS => {
3178 'STRING_LITERAL' => 238
3179 },
3180 GOTOS => {
3181 'string_literals' => 408,
3182 'string_literal' => 397
3183 }
3184 },
3185 {#State 406
3186 DEFAULT => -260
3187 },
3188 {#State 407
3189 DEFAULT => -261
3190 },
3191 {#State 408
3192 DEFAULT => -265
3193 }
3194 ],
3195 yyrules =>
3196 [
3197 [#Rule 0
3198 '$start', 2, undef
3199 ],
3200 [#Rule 1
3201 'specification', 1,
3202 sub
3203 #line 59 "Parser21.yp"
3204 {
3205 $_[0]->YYData->{root} = new CORBA::IDL::Specification($_[0],
3206 'list_decl' => $_[1],
3207 );
3208 }
3209 ],
3210 [#Rule 2
3211 'specification', 0,
3212 sub
3213 #line 65 "Parser21.yp"
3214 {
3215 $_[0]->Error("Empty specification.\n");
3216 }
3217 ],
3218 [#Rule 3
3219 'specification', 1,
3220 sub
3221 #line 69 "Parser21.yp"
3222 {
3223 $_[0]->Error("definition declaration expected.\n");
3224 }
3225 ],
3226 [#Rule 4
3227 'definitions', 1,
3228 sub
3229 #line 76 "Parser21.yp"
3230 {
3231 [$_[1]->getRef()];
3232 }
3233 ],
3234 [#Rule 5
3235 'definitions', 2,
3236 sub
3237 #line 80 "Parser21.yp"
3238 {
3239 unshift @{$_[2]}, $_[1]->getRef();
3240 $_[2];
3241 }
3242 ],
3243 [#Rule 6
3244 'definition', 2, undef
3245 ],
3246 [#Rule 7
3247 'definition', 2, undef
3248 ],
3249 [#Rule 8
3250 'definition', 2, undef
3251 ],
3252 [#Rule 9
3253 'definition', 2, undef
3254 ],
3255 [#Rule 10
3256 'definition', 2, undef
3257 ],
3258 [#Rule 11
3259 'definition', 3,
3260 sub
3261 #line 99 "Parser21.yp"
3262 {
3263 # when IDENTIFIER is a future keyword
3264 $_[0]->Error("'$_[1]' unexpected.\n");
3265 $_[0]->YYErrok();
3266 new CORBA::IDL::Node($_[0],
3267 'idf' => $_[1]
3268 );
3269 }
3270 ],
3271 [#Rule 12
3272 'check_semicolon', 1, undef
3273 ],
3274 [#Rule 13
3275 'check_semicolon', 1,
3276 sub
3277 #line 113 "Parser21.yp"
3278 {
3279 $_[0]->Warning("';' expected.\n");
3280 $_[0]->YYErrok();
3281 }
3282 ],
3283 [#Rule 14
3284 'module', 4,
3285 sub
3286 #line 122 "Parser21.yp"
3287 {
3288 $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]);
3289 $_[1]->Configure($_[0],
3290 'list_decl' => $_[3]
3291 ) if (defined $_[1]);
3292 }
3293 ],
3294 [#Rule 15
3295 'module', 4,
3296 sub
3297 #line 129 "Parser21.yp"
3298 {
3299 $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]);
3300 $_[0]->Error("definition declaration expected.\n");
3301 $_[0]->YYErrok();
3302 $_[1];
3303 }
3304 ],
3305 [#Rule 16
3306 'module', 3,
3307 sub
3308 #line 136 "Parser21.yp"
3309 {
3310 $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]);
3311 $_[0]->Error("Empty module.\n");
3312 $_[0]->YYErrok();
3313 $_[1];
3314 }
3315 ],
3316 [#Rule 17
3317 'module', 3,
3318 sub
3319 #line 143 "Parser21.yp"
3320 {
3321 $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]);
3322 $_[0]->Error("'\x7b' expected.\n");
3323 $_[0]->YYErrok();
3324 $_[1];
3325 }
3326 ],
3327 [#Rule 18
3328 'module_header', 2,
3329 sub
3330 #line 153 "Parser21.yp"
3331 {
3332 new CORBA::IDL::Module($_[0],
3333 'idf' => $_[2],
3334 );
3335 }
3336 ],
3337 [#Rule 19
3338 'module_header', 2,
3339 sub
3340 #line 159 "Parser21.yp"
3341 {
3342 $_[0]->Error("Identifier expected.\n");
3343 $_[0]->YYErrok();
3344 }
3345 ],
3346 [#Rule 20
3347 'interface', 1, undef
3348 ],
3349 [#Rule 21
3350 'interface', 1, undef
3351 ],
3352 [#Rule 22
3353 'interface_dcl', 3,
3354 sub
3355 #line 176 "Parser21.yp"
3356 {
3357 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3358 $_[0]->YYData->{curr_itf} = undef;
3359 $_[1]->Configure($_[0],
3360 'list_decl' => []
3361 ) if (defined $_[1]);
3362 }
3363 ],
3364 [#Rule 23
3365 'interface_dcl', 4,
3366 sub
3367 #line 184 "Parser21.yp"
3368 {
3369 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3370 $_[0]->YYData->{curr_itf} = undef;
3371 $_[1]->Configure($_[0],
3372 'list_decl' => $_[3]
3373 ) if (defined $_[1]);
3374 }
3375 ],
3376 [#Rule 24
3377 'interface_dcl', 4,
3378 sub
3379 #line 192 "Parser21.yp"
3380 {
3381 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3382 $_[0]->YYData->{curr_itf} = undef;
3383 $_[0]->Error("export declaration expected.\n");
3384 $_[0]->YYErrok();
3385 $_[1];
3386 }
3387 ],
3388 [#Rule 25
3389 'forward_dcl', 2,
3390 sub
3391 #line 204 "Parser21.yp"
3392 {
3393 new CORBA::IDL::ForwardRegularInterface($_[0],
3394 'idf' => $_[2]
3395 );
3396 }
3397 ],
3398 [#Rule 26
3399 'forward_dcl', 2,
3400 sub
3401 #line 210 "Parser21.yp"
3402 {
3403 $_[0]->Error("Identifier expected.\n");
3404 $_[0]->YYErrok();
3405 }
3406 ],
3407 [#Rule 27
3408 'interface_header', 3,
3409 sub
3410 #line 219 "Parser21.yp"
3411 {
3412 new CORBA::IDL::RegularInterface($_[0],
3413 'idf' => $_[2],
3414 'inheritance' => $_[3]
3415 );
3416 }
3417 ],
3418 [#Rule 28
3419 'interface_header', 2,
3420 sub
3421 #line 226 "Parser21.yp"
3422 {
3423 $_[0]->Error("Identifier expected.\n");
3424 $_[0]->YYErrok();
3425 }
3426 ],
3427 [#Rule 29
3428 'interface_body', 1, undef
3429 ],
3430 [#Rule 30
3431 'exports', 1,
3432 sub
3433 #line 240 "Parser21.yp"
3434 {
3435 [$_[1]->getRef()];
3436 }
3437 ],
3438 [#Rule 31
3439 'exports', 2,
3440 sub
3441 #line 244 "Parser21.yp"
3442 {
3443 unshift @{$_[2]}, $_[1]->getRef();
3444 $_[2];
3445 }
3446 ],
3447 [#Rule 32
3448 'export', 2, undef
3449 ],
3450 [#Rule 33
3451 'export', 2, undef
3452 ],
3453 [#Rule 34
3454 'export', 2, undef
3455 ],
3456 [#Rule 35
3457 'export', 2, undef
3458 ],
3459 [#Rule 36
3460 'export', 2, undef
3461 ],
3462 [#Rule 37
3463 'interface_inheritance_spec', 2,
3464 sub
3465 #line 267 "Parser21.yp"
3466 {
3467 new CORBA::IDL::InheritanceSpec($_[0],
3468 'list_interface' => $_[2]
3469 );
3470 }
3471 ],
3472 [#Rule 38
3473 'interface_inheritance_spec', 2,
3474 sub
3475 #line 273 "Parser21.yp"
3476 {
3477 $_[0]->Error("Interface name expected.\n");
3478 $_[0]->YYErrok();
3479 }
3480 ],
3481 [#Rule 39
3482 'interface_inheritance_spec', 0, undef
3483 ],
3484 [#Rule 40
3485 'interface_names', 1,
3486 sub
3487 #line 283 "Parser21.yp"
3488 {
3489 [$_[1]];
3490 }
3491 ],
3492 [#Rule 41
3493 'interface_names', 3,
3494 sub
3495 #line 287 "Parser21.yp"
3496 {
3497 unshift @{$_[3]}, $_[1];
3498 $_[3];
3499 }
3500 ],
3501 [#Rule 42
3502 'interface_name', 1,
3503 sub
3504 #line 295 "Parser21.yp"
3505 {
3506 CORBA::IDL::Interface->Lookup($_[0], $_[1]);
3507 }
3508 ],
3509 [#Rule 43
3510 'scoped_name', 1, undef
3511 ],
3512 [#Rule 44
3513 'scoped_name', 2,
3514 sub
3515 #line 305 "Parser21.yp"
3516 {
3517 $_[1] . $_[2];
3518 }
3519 ],
3520 [#Rule 45
3521 'scoped_name', 2,
3522 sub
3523 #line 309 "Parser21.yp"
3524 {
3525 $_[0]->Error("Identifier expected.\n");
3526 $_[0]->YYErrok();
3527 '';
3528 }
3529 ],
3530 [#Rule 46
3531 'scoped_name', 3,
3532 sub
3533 #line 315 "Parser21.yp"
3534 {
3535 $_[1] . $_[2] . $_[3];
3536 }
3537 ],
3538 [#Rule 47
3539 'scoped_name', 3,
3540 sub
3541 #line 319 "Parser21.yp"
3542 {
3543 $_[0]->Error("Identifier expected.\n");
3544 $_[0]->YYErrok();
3545 $_[1];
3546 }
3547 ],
3548 [#Rule 48
3549 'const_dcl', 5,
3550 sub
3551 #line 329 "Parser21.yp"
3552 {
3553 new CORBA::IDL::Constant($_[0],
3554 'type' => $_[2],
3555 'idf' => $_[3],
3556 'list_expr' => $_[5]
3557 );
3558 }
3559 ],
3560 [#Rule 49
3561 'const_dcl', 5,
3562 sub
3563 #line 337 "Parser21.yp"
3564 {
3565 $_[0]->Error("Expression expected.\n");
3566 $_[0]->YYErrok();
3567 }
3568 ],
3569 [#Rule 50
3570 'const_dcl', 4,
3571 sub
3572 #line 342 "Parser21.yp"
3573 {
3574 $_[0]->Error("'=' expected.\n");
3575 $_[0]->YYErrok();
3576 }
3577 ],
3578 [#Rule 51
3579 'const_dcl', 3,
3580 sub
3581 #line 347 "Parser21.yp"
3582 {
3583 $_[0]->Error("Identifier expected.\n");
3584 $_[0]->YYErrok();
3585 }
3586 ],
3587 [#Rule 52
3588 'const_dcl', 2,
3589 sub
3590 #line 352 "Parser21.yp"
3591 {
3592 $_[0]->Error("const_type expected.\n");
3593 $_[0]->YYErrok();
3594 }
3595 ],
3596 [#Rule 53
3597 'const_type', 1, undef
3598 ],
3599 [#Rule 54
3600 'const_type', 1, undef
3601 ],
3602 [#Rule 55
3603 'const_type', 1, undef
3604 ],
3605 [#Rule 56
3606 'const_type', 1, undef
3607 ],
3608 [#Rule 57
3609 'const_type', 1, undef
3610 ],
3611 [#Rule 58
3612 'const_type', 1, undef
3613 ],
3614 [#Rule 59
3615 'const_type', 1, undef
3616 ],
3617 [#Rule 60
3618 'const_type', 1, undef
3619 ],
3620 [#Rule 61
3621 'const_type', 1,
3622 sub
3623 #line 377 "Parser21.yp"
3624 {
3625 CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]);
3626 }
3627 ],
3628 [#Rule 62
3629 'const_exp', 1, undef
3630 ],
3631 [#Rule 63
3632 'or_expr', 1, undef
3633 ],
3634 [#Rule 64
3635 'or_expr', 3,
3636 sub
3637 #line 393 "Parser21.yp"
3638 {
3639 BuildBinop($_[1], $_[2], $_[3]);
3640 }
3641 ],
3642 [#Rule 65
3643 'xor_expr', 1, undef
3644 ],
3645 [#Rule 66
3646 'xor_expr', 3,
3647 sub
3648 #line 403 "Parser21.yp"
3649 {
3650 BuildBinop($_[1], $_[2], $_[3]);
3651 }
3652 ],
3653 [#Rule 67
3654 'and_expr', 1, undef
3655 ],
3656 [#Rule 68
3657 'and_expr', 3,
3658 sub
3659 #line 413 "Parser21.yp"
3660 {
3661 BuildBinop($_[1], $_[2], $_[3]);
3662 }
3663 ],
3664 [#Rule 69
3665 'shift_expr', 1, undef
3666 ],
3667 [#Rule 70
3668 'shift_expr', 3,
3669 sub
3670 #line 423 "Parser21.yp"
3671 {
3672 BuildBinop($_[1], $_[2], $_[3]);
3673 }
3674 ],
3675 [#Rule 71
3676 'shift_expr', 3,
3677 sub
3678 #line 427 "Parser21.yp"
3679 {
3680 BuildBinop($_[1], $_[2], $_[3]);
3681 }
3682 ],
3683 [#Rule 72
3684 'add_expr', 1, undef
3685 ],
3686 [#Rule 73
3687 'add_expr', 3,
3688 sub
3689 #line 437 "Parser21.yp"
3690 {
3691 BuildBinop($_[1], $_[2], $_[3]);
3692 }
3693 ],
3694 [#Rule 74
3695 'add_expr', 3,
3696 sub
3697 #line 441 "Parser21.yp"
3698 {
3699 BuildBinop($_[1], $_[2], $_[3]);
3700 }
3701 ],
3702 [#Rule 75
3703 'mult_expr', 1, undef
3704 ],
3705 [#Rule 76
3706 'mult_expr', 3,
3707 sub
3708 #line 451 "Parser21.yp"
3709 {
3710 BuildBinop($_[1], $_[2], $_[3]);
3711 }
3712 ],
3713 [#Rule 77
3714 'mult_expr', 3,
3715 sub
3716 #line 455 "Parser21.yp"
3717 {
3718 BuildBinop($_[1], $_[2], $_[3]);
3719 }
3720 ],
3721 [#Rule 78
3722 'mult_expr', 3,
3723 sub
3724 #line 459 "Parser21.yp"
3725 {
3726 BuildBinop($_[1], $_[2], $_[3]);
3727 }
3728 ],
3729 [#Rule 79
3730 'unary_expr', 2,
3731 sub
3732 #line 467 "Parser21.yp"
3733 {
3734 BuildUnop($_[1], $_[2]);
3735 }
3736 ],
3737 [#Rule 80
3738 'unary_expr', 1, undef
3739 ],
3740 [#Rule 81
3741 'unary_operator', 1, undef
3742 ],
3743 [#Rule 82
3744 'unary_operator', 1, undef
3745 ],
3746 [#Rule 83
3747 'unary_operator', 1, undef
3748 ],
3749 [#Rule 84
3750 'primary_expr', 1,
3751 sub
3752 #line 487 "Parser21.yp"
3753 {
3754 [
3755 CORBA::IDL::Constant->Lookup($_[0], $_[1])
3756 ];
3757 }
3758 ],
3759 [#Rule 85
3760 'primary_expr', 1,
3761 sub
3762 #line 493 "Parser21.yp"
3763 {
3764 [ $_[1] ];
3765 }
3766 ],
3767 [#Rule 86
3768 'primary_expr', 3,
3769 sub
3770 #line 497 "Parser21.yp"
3771 {
3772 $_[2];
3773 }
3774 ],
3775 [#Rule 87
3776 'primary_expr', 3,
3777 sub
3778 #line 501 "Parser21.yp"
3779 {
3780 $_[0]->Error("Expression expected.\n");
3781 $_[0]->YYErrok();
3782 }
3783 ],
3784 [#Rule 88
3785 'literal', 1,
3786 sub
3787 #line 510 "Parser21.yp"
3788 {
3789 new CORBA::IDL::IntegerLiteral($_[0],
3790 'value' => $_[1],
3791 'lexeme' => $_[0]->YYData->{lexeme}
3792 );
3793 }
3794 ],
3795 [#Rule 89
3796 'literal', 1,
3797 sub
3798 #line 517 "Parser21.yp"
3799 {
3800 new CORBA::IDL::StringLiteral($_[0],
3801 'value' => $_[1]
3802 );
3803 }
3804 ],
3805 [#Rule 90
3806 'literal', 1,
3807 sub
3808 #line 523 "Parser21.yp"
3809 {
3810 new CORBA::IDL::WideStringLiteral($_[0],
3811 'value' => $_[1]
3812 );
3813 }
3814 ],
3815 [#Rule 91
3816 'literal', 1,
3817 sub
3818 #line 529 "Parser21.yp"
3819 {
3820 new CORBA::IDL::CharacterLiteral($_[0],
3821 'value' => $_[1]
3822 );
3823 }
3824 ],
3825 [#Rule 92
3826 'literal', 1,
3827 sub
3828 #line 535 "Parser21.yp"
3829 {
3830 new CORBA::IDL::WideCharacterLiteral($_[0],
3831 'value' => $_[1]
3832 );
3833 }
3834 ],
3835 [#Rule 93
3836 'literal', 1,
3837 sub
3838 #line 541 "Parser21.yp"
3839 {
3840 new CORBA::IDL::FixedPtLiteral($_[0],
3841 'value' => $_[1],
3842 'lexeme' => $_[0]->YYData->{lexeme}
3843 );
3844 }
3845 ],
3846 [#Rule 94
3847 'literal', 1,
3848 sub
3849 #line 548 "Parser21.yp"
3850 {
3851 new CORBA::IDL::FloatingPtLiteral($_[0],
3852 'value' => $_[1],
3853 'lexeme' => $_[0]->YYData->{lexeme}
3854 );
3855 }
3856 ],
3857 [#Rule 95
3858 'literal', 1, undef
3859 ],
3860 [#Rule 96
3861 'string_literal', 1, undef
3862 ],
3863 [#Rule 97
3864 'string_literal', 2,
3865 sub
3866 #line 562 "Parser21.yp"
3867 {
3868 $_[1] . $_[2];
3869 }
3870 ],
3871 [#Rule 98
3872 'wide_string_literal', 1, undef
3873 ],
3874 [#Rule 99
3875 'wide_string_literal', 2,
3876 sub
3877 #line 571 "Parser21.yp"
3878 {
3879 $_[1] . $_[2];
3880 }
3881 ],
3882 [#Rule 100
3883 'boolean_literal', 1,
3884 sub
3885 #line 579 "Parser21.yp"
3886 {
3887 new CORBA::IDL::BooleanLiteral($_[0],
3888 'value' => $_[1]
3889 );
3890 }
3891 ],
3892 [#Rule 101
3893 'boolean_literal', 1,
3894 sub
3895 #line 585 "Parser21.yp"
3896 {
3897 new CORBA::IDL::BooleanLiteral($_[0],
3898 'value' => $_[1]
3899 );
3900 }
3901 ],
3902 [#Rule 102
3903 'positive_int_const', 1,
3904 sub
3905 #line 595 "Parser21.yp"
3906 {
3907 new CORBA::IDL::Expression($_[0],
3908 'list_expr' => $_[1]
3909 );
3910 }
3911 ],
3912 [#Rule 103
3913 'type_dcl', 2,
3914 sub
3915 #line 605 "Parser21.yp"
3916 {
3917 $_[2];
3918 }
3919 ],
3920 [#Rule 104
3921 'type_dcl', 1, undef
3922 ],
3923 [#Rule 105
3924 'type_dcl', 1, undef
3925 ],
3926 [#Rule 106
3927 'type_dcl', 1, undef
3928 ],
3929 [#Rule 107
3930 'type_dcl', 2,
3931 sub
3932 #line 615 "Parser21.yp"
3933 {
3934 $_[0]->Error("type_declarator expected.\n");
3935 $_[0]->YYErrok();
3936 }
3937 ],
3938 [#Rule 108
3939 'type_declarator', 2,
3940 sub
3941 #line 624 "Parser21.yp"
3942 {
3943 new CORBA::IDL::TypeDeclarators($_[0],
3944 'type' => $_[1],
3945 'list_expr' => $_[2]
3946 );
3947 }
3948 ],
3949 [#Rule 109
3950 'type_spec', 1, undef
3951 ],
3952 [#Rule 110
3953 'type_spec', 1, undef
3954 ],
3955 [#Rule 111
3956 'simple_type_spec', 1, undef
3957 ],
3958 [#Rule 112
3959 'simple_type_spec', 1, undef
3960 ],
3961 [#Rule 113
3962 'simple_type_spec', 1,
3963 sub
3964 #line 647 "Parser21.yp"
3965 {
3966 CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]);
3967 }
3968 ],
3969 [#Rule 114
3970 'simple_type_spec', 1,
3971 sub
3972 #line 651 "Parser21.yp"
3973 {
3974 $_[0]->Error("simple_type_spec expected.\n");
3975 new CORBA::IDL::VoidType($_[0],
3976 'value' => $_[1]
3977 );
3978 }
3979 ],
3980 [#Rule 115
3981 'base_type_spec', 1, undef
3982 ],
3983 [#Rule 116
3984 'base_type_spec', 1, undef
3985 ],
3986 [#Rule 117
3987 'base_type_spec', 1, undef
3988 ],
3989 [#Rule 118
3990 'base_type_spec', 1, undef
3991 ],
3992 [#Rule 119
3993 'base_type_spec', 1, undef
3994 ],
3995 [#Rule 120
3996 'base_type_spec', 1, undef
3997 ],
3998 [#Rule 121
3999 'base_type_spec', 1, undef
4000 ],
4001 [#Rule 122
4002 'base_type_spec', 1, undef
4003 ],
4004 [#Rule 123
4005 'template_type_spec', 1, undef
4006 ],
4007 [#Rule 124
4008 'template_type_spec', 1, undef
4009 ],
4010 [#Rule 125
4011 'template_type_spec', 1, undef
4012 ],
4013 [#Rule 126
4014 'template_type_spec', 1, undef
4015 ],
4016 [#Rule 127
4017 'constr_type_spec', 1, undef
4018 ],
4019 [#Rule 128
4020 'constr_type_spec', 1, undef
4021 ],
4022 [#Rule 129
4023 'constr_type_spec', 1, undef
4024 ],
4025 [#Rule 130
4026 'declarators', 1,
4027 sub
4028 #line 704 "Parser21.yp"
4029 {
4030 [$_[1]];
4031 }
4032 ],
4033 [#Rule 131
4034 'declarators', 3,
4035 sub
4036 #line 708 "Parser21.yp"
4037 {
4038 unshift @{$_[3]}, $_[1];
4039 $_[3];
4040 }
4041 ],
4042 [#Rule 132
4043 'declarator', 1,
4044 sub
4045 #line 717 "Parser21.yp"
4046 {
4047 [$_[1]];
4048 }
4049 ],
4050 [#Rule 133
4051 'declarator', 1, undef
4052 ],
4053 [#Rule 134
4054 'simple_declarator', 1, undef
4055 ],
4056 [#Rule 135
4057 'simple_declarator', 2,
4058 sub
4059 #line 729 "Parser21.yp"
4060 {
4061 $_[0]->Error("Identifier expected.\n");
4062 $_[0]->YYErrok();
4063 }
4064 ],
4065 [#Rule 136
4066 'simple_declarator', 2,
4067 sub
4068 #line 734 "Parser21.yp"
4069 {
4070 $_[0]->Error("Identifier expected.\n");
4071 $_[0]->YYErrok();
4072 }
4073 ],
4074 [#Rule 137
4075 'complex_declarator', 1, undef
4076 ],
4077 [#Rule 138
4078 'floating_pt_type', 1,
4079 sub
4080 #line 749 "Parser21.yp"
4081 {
4082 new CORBA::IDL::FloatingPtType($_[0],
4083 'value' => $_[1]
4084 );
4085 }
4086 ],
4087 [#Rule 139
4088 'floating_pt_type', 1,
4089 sub
4090 #line 755 "Parser21.yp"
4091 {
4092 new CORBA::IDL::FloatingPtType($_[0],
4093 'value' => $_[1]
4094 );
4095 }
4096 ],
4097 [#Rule 140
4098 'floating_pt_type', 2,
4099 sub
4100 #line 761 "Parser21.yp"
4101 {
4102 new CORBA::IDL::FloatingPtType($_[0],
4103 'value' => $_[1] . q{ } . $_[2]
4104 );
4105 }
4106 ],
4107 [#Rule 141
4108 'integer_type', 1, undef
4109 ],
4110 [#Rule 142
4111 'integer_type', 1, undef
4112 ],
4113 [#Rule 143
4114 'signed_int', 1, undef
4115 ],
4116 [#Rule 144
4117 'signed_int', 1, undef
4118 ],
4119 [#Rule 145
4120 'signed_int', 1, undef
4121 ],
4122 [#Rule 146
4123 'signed_short_int', 1,
4124 sub
4125 #line 789 "Parser21.yp"
4126 {
4127 new CORBA::IDL::IntegerType($_[0],
4128 'value' => $_[1]
4129 );
4130 }
4131 ],
4132 [#Rule 147
4133 'signed_long_int', 1,
4134 sub
4135 #line 799 "Parser21.yp"
4136 {
4137 new CORBA::IDL::IntegerType($_[0],
4138 'value' => $_[1]
4139 );
4140 }
4141 ],
4142 [#Rule 148
4143 'signed_longlong_int', 2,
4144 sub
4145 #line 809 "Parser21.yp"
4146 {
4147 new CORBA::IDL::IntegerType($_[0],
4148 'value' => $_[1] . q{ } . $_[2]
4149 );
4150 }
4151 ],
4152 [#Rule 149
4153 'unsigned_int', 1, undef
4154 ],
4155 [#Rule 150
4156 'unsigned_int', 1, undef
4157 ],
4158 [#Rule 151
4159 'unsigned_int', 1, undef
4160 ],
4161 [#Rule 152
4162 'unsigned_short_int', 2,
4163 sub
4164 #line 829 "Parser21.yp"
4165 {
4166 new CORBA::IDL::IntegerType($_[0],
4167 'value' => $_[1] . q{ } . $_[2]
4168 );
4169 }
4170 ],
4171 [#Rule 153
4172 'unsigned_long_int', 2,
4173 sub
4174 #line 839 "Parser21.yp"
4175 {
4176 new CORBA::IDL::IntegerType($_[0],
4177 'value' => $_[1] . q{ } . $_[2]
4178 );
4179 }
4180 ],
4181 [#Rule 154
4182 'unsigned_longlong_int', 3,
4183 sub
4184 #line 849 "Parser21.yp"
4185 {
4186 new CORBA::IDL::IntegerType($_[0],
4187 'value' => $_[1] . q{ } . $_[2] . q{ } . $_[3]
4188 );
4189 }
4190 ],
4191 [#Rule 155
4192 'char_type', 1,
4193 sub
4194 #line 859 "Parser21.yp"
4195 {
4196 new CORBA::IDL::CharType($_[0],
4197 'value' => $_[1]
4198 );
4199 }
4200 ],
4201 [#Rule 156
4202 'wide_char_type', 1,
4203 sub
4204 #line 869 "Parser21.yp"
4205 {
4206 new CORBA::IDL::WideCharType($_[0],
4207 'value' => $_[1]
4208 );
4209 }
4210 ],
4211 [#Rule 157
4212 'boolean_type', 1,
4213 sub
4214 #line 879 "Parser21.yp"
4215 {
4216 new CORBA::IDL::BooleanType($_[0],
4217 'value' => $_[1]
4218 );
4219 }
4220 ],
4221 [#Rule 158
4222 'octet_type', 1,
4223 sub
4224 #line 889 "Parser21.yp"
4225 {
4226 new CORBA::IDL::OctetType($_[0],
4227 'value' => $_[1]
4228 );
4229 }
4230 ],
4231 [#Rule 159
4232 'any_type', 1,
4233 sub
4234 #line 899 "Parser21.yp"
4235 {
4236 new CORBA::IDL::AnyType($_[0],
4237 'value' => $_[1]
4238 );
4239 }
4240 ],
4241 [#Rule 160
4242 'object_type', 1,
4243 sub
4244 #line 909 "Parser21.yp"
4245 {
4246 new CORBA::IDL::ObjectType($_[0],
4247 'value' => $_[1]
4248 );
4249 }
4250 ],
4251 [#Rule 161
4252 'struct_type', 4,
4253 sub
4254 #line 919 "Parser21.yp"
4255 {
4256 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4257 $_[1]->Configure($_[0],
4258 'list_expr' => $_[3]
4259 ) if (defined $_[1]);
4260 }
4261 ],
4262 [#Rule 162
4263 'struct_type', 4,
4264 sub
4265 #line 926 "Parser21.yp"
4266 {
4267 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4268 $_[0]->Error("member expected.\n");
4269 $_[0]->YYErrok();
4270 $_[1];
4271 }
4272 ],
4273 [#Rule 163
4274 'struct_header', 2,
4275 sub
4276 #line 936 "Parser21.yp"
4277 {
4278 new CORBA::IDL::StructType($_[0],
4279 'idf' => $_[2]
4280 );
4281 }
4282 ],
4283 [#Rule 164
4284 'struct_header', 2,
4285 sub
4286 #line 942 "Parser21.yp"
4287 {
4288 $_[0]->Error("Identifier expected.\n");
4289 $_[0]->YYErrok();
4290 }
4291 ],
4292 [#Rule 165
4293 'member_list', 1,
4294 sub
4295 #line 951 "Parser21.yp"
4296 {
4297 [$_[1]];
4298 }
4299 ],
4300 [#Rule 166
4301 'member_list', 2,
4302 sub
4303 #line 955 "Parser21.yp"
4304 {
4305 unshift @{$_[2]}, $_[1];
4306 $_[2];
4307 }
4308 ],
4309 [#Rule 167
4310 'member', 3,
4311 sub
4312 #line 964 "Parser21.yp"
4313 {
4314 new CORBA::IDL::Members($_[0],
4315 'type' => $_[1],
4316 'list_expr' => $_[2]
4317 );
4318 }
4319 ],
4320 [#Rule 168
4321 'union_type', 8,
4322 sub
4323 #line 975 "Parser21.yp"
4324 {
4325 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4326 $_[1]->Configure($_[0],
4327 'type' => $_[4],
4328 'list_expr' => $_[7]
4329 ) if (defined $_[1]);
4330 }
4331 ],
4332 [#Rule 169
4333 'union_type', 8,
4334 sub
4335 #line 983 "Parser21.yp"
4336 {
4337 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4338 $_[0]->Error("switch_body expected.\n");
4339 $_[0]->YYErrok();
4340 $_[1];
4341 }
4342 ],
4343 [#Rule 170
4344 'union_type', 6,
4345 sub
4346 #line 990 "Parser21.yp"
4347 {
4348 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4349 $_[0]->Error("'\x7b' expected.\n");
4350 $_[0]->YYErrok();
4351 $_[1];
4352 }
4353 ],
4354 [#Rule 171
4355 'union_type', 5,
4356 sub
4357 #line 997 "Parser21.yp"
4358 {
4359 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4360 $_[0]->Error("switch_type_spec expected.\n");
4361 $_[0]->YYErrok();
4362 $_[1];
4363 }
4364 ],
4365 [#Rule 172
4366 'union_type', 3,
4367 sub
4368 #line 1004 "Parser21.yp"
4369 {
4370 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4371 $_[0]->Error("'(' expected.\n");
4372 $_[0]->YYErrok();
4373 $_[1];
4374 }
4375 ],
4376 [#Rule 173
4377 'union_header', 2,
4378 sub
4379 #line 1014 "Parser21.yp"
4380 {
4381 new CORBA::IDL::UnionType($_[0],
4382 'idf' => $_[2],
4383 );
4384 }
4385 ],
4386 [#Rule 174
4387 'union_header', 2,
4388 sub
4389 #line 1020 "Parser21.yp"
4390 {
4391 $_[0]->Error("Identifier expected.\n");
4392 $_[0]->YYErrok();
4393 }
4394 ],
4395 [#Rule 175
4396 'switch_type_spec', 1, undef
4397 ],
4398 [#Rule 176
4399 'switch_type_spec', 1, undef
4400 ],
4401 [#Rule 177
4402 'switch_type_spec', 1, undef
4403 ],
4404 [#Rule 178
4405 'switch_type_spec', 1, undef
4406 ],
4407 [#Rule 179
4408 'switch_type_spec', 1,
4409 sub
4410 #line 1037 "Parser21.yp"
4411 {
4412 CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]);
4413 }
4414 ],
4415 [#Rule 180
4416 'switch_body', 1,
4417 sub
4418 #line 1045 "Parser21.yp"
4419 {
4420 [$_[1]];
4421 }
4422 ],
4423 [#Rule 181
4424 'switch_body', 2,
4425 sub
4426 #line 1049 "Parser21.yp"
4427 {
4428 unshift @{$_[2]}, $_[1];
4429 $_[2];
4430 }
4431 ],
4432 [#Rule 182
4433 'case', 3,
4434 sub
4435 #line 1058 "Parser21.yp"
4436 {
4437 new CORBA::IDL::Case($_[0],
4438 'list_label' => $_[1],
4439 'element' => $_[2]
4440 );
4441 }
4442 ],
4443 [#Rule 183
4444 'case_labels', 1,
4445 sub
4446 #line 1068 "Parser21.yp"
4447 {
4448 [$_[1]];
4449 }
4450 ],
4451 [#Rule 184
4452 'case_labels', 2,
4453 sub
4454 #line 1072 "Parser21.yp"
4455 {
4456 unshift @{$_[2]}, $_[1];
4457 $_[2];
4458 }
4459 ],
4460 [#Rule 185
4461 'case_label', 3,
4462 sub
4463 #line 1081 "Parser21.yp"
4464 {
4465 $_[2]; # here only a expression, type is not known
4466 }
4467 ],
4468 [#Rule 186
4469 'case_label', 3,
4470 sub
4471 #line 1085 "Parser21.yp"
4472 {
4473 $_[0]->Error("':' expected.\n");
4474 $_[0]->YYErrok();
4475 $_[2];
4476 }
4477 ],
4478 [#Rule 187
4479 'case_label', 2,
4480 sub
4481 #line 1091 "Parser21.yp"
4482 {
4483 $_[0]->Error("Expression expected.\n");
4484 $_[0]->YYErrok();
4485 }
4486 ],
4487 [#Rule 188
4488 'case_label', 2,
4489 sub
4490 #line 1096 "Parser21.yp"
4491 {
4492 new CORBA::IDL::Default($_[0]);
4493 }
4494 ],
4495 [#Rule 189
4496 'case_label', 2,
4497 sub
4498 #line 1100 "Parser21.yp"
4499 {
4500 $_[0]->Error("':' expected.\n");
4501 $_[0]->YYErrok();
4502 new CORBA::IDL::Default($_[0]);
4503 }
4504 ],
4505 [#Rule 190
4506 'element_spec', 2,
4507 sub
4508 #line 1110 "Parser21.yp"
4509 {
4510 new CORBA::IDL::Element($_[0],
4511 'type' => $_[1],
4512 'list_expr' => $_[2]
4513 );
4514 }
4515 ],
4516 [#Rule 191
4517 'enum_type', 4,
4518 sub
4519 #line 1121 "Parser21.yp"
4520 {
4521 $_[1]->Configure($_[0],
4522 'list_expr' => $_[3]
4523 ) if (defined $_[1]);
4524 }
4525 ],
4526 [#Rule 192
4527 'enum_type', 4,
4528 sub
4529 #line 1127 "Parser21.yp"
4530 {
4531 $_[0]->Error("enumerator expected.\n");
4532 $_[0]->YYErrok();
4533 $_[1];
4534 }
4535 ],
4536 [#Rule 193
4537 'enum_type', 2,
4538 sub
4539 #line 1133 "Parser21.yp"
4540 {
4541 $_[0]->Error("'\x7b' expected.\n");
4542 $_[0]->YYErrok();
4543 $_[1];
4544 }
4545 ],
4546 [#Rule 194
4547 'enum_header', 2,
4548 sub
4549 #line 1142 "Parser21.yp"
4550 {
4551 new CORBA::IDL::EnumType($_[0],
4552 'idf' => $_[2],
4553 );
4554 }
4555 ],
4556 [#Rule 195
4557 'enum_header', 2,
4558 sub
4559 #line 1148 "Parser21.yp"
4560 {
4561 $_[0]->Error("Identifier expected.\n");
4562 $_[0]->YYErrok();
4563 }
4564 ],
4565 [#Rule 196
4566 'enumerators', 1,
4567 sub
4568 #line 1156 "Parser21.yp"
4569 {
4570 [$_[1]];
4571 }
4572 ],
4573 [#Rule 197
4574 'enumerators', 3,
4575 sub
4576 #line 1160 "Parser21.yp"
4577 {
4578 unshift @{$_[3]}, $_[1];
4579 $_[3];
4580 }
4581 ],
4582 [#Rule 198
4583 'enumerators', 2,
4584 sub
4585 #line 1165 "Parser21.yp"
4586 {
4587 $_[0]->Warning("',' unexpected.\n");
4588 [$_[1]];
4589 }
4590 ],
4591 [#Rule 199
4592 'enumerators', 2,
4593 sub
4594 #line 1170 "Parser21.yp"
4595 {
4596 $_[0]->Error("';' unexpected.\n");
4597 [$_[1]];
4598 }
4599 ],
4600 [#Rule 200
4601 'enumerator', 1,
4602 sub
4603 #line 1179 "Parser21.yp"
4604 {
4605 new CORBA::IDL::Enum($_[0],
4606 'idf' => $_[1]
4607 );
4608 }
4609 ],
4610 [#Rule 201
4611 'sequence_type', 6,
4612 sub
4613 #line 1189 "Parser21.yp"
4614 {
4615 new CORBA::IDL::SequenceType($_[0],
4616 'value' => $_[1],
4617 'type' => $_[3],
4618 'max' => $_[5]
4619 );
4620 }
4621 ],
4622 [#Rule 202
4623 'sequence_type', 6,
4624 sub
4625 #line 1197 "Parser21.yp"
4626 {
4627 $_[0]->Error("Expression expected.\n");
4628 $_[0]->YYErrok();
4629 }
4630 ],
4631 [#Rule 203
4632 'sequence_type', 4,
4633 sub
4634 #line 1202 "Parser21.yp"
4635 {
4636 new CORBA::IDL::SequenceType($_[0],
4637 'value' => $_[1],
4638 'type' => $_[3]
4639 );
4640 }
4641 ],
4642 [#Rule 204
4643 'sequence_type', 4,
4644 sub
4645 #line 1209 "Parser21.yp"
4646 {
4647 $_[0]->Error("simple_type_spec expected.\n");
4648 $_[0]->YYErrok();
4649 }
4650 ],
4651 [#Rule 205
4652 'sequence_type', 2,
4653 sub
4654 #line 1214 "Parser21.yp"
4655 {
4656 $_[0]->Error("'<' expected.\n");
4657 $_[0]->YYErrok();
4658 }
4659 ],
4660 [#Rule 206
4661 'string_type', 4,
4662 sub
4663 #line 1223 "Parser21.yp"
4664 {
4665 new CORBA::IDL::StringType($_[0],
4666 'value' => $_[1],
4667 'max' => $_[3]
4668 );
4669 }
4670 ],
4671 [#Rule 207
4672 'string_type', 1,
4673 sub
4674 #line 1230 "Parser21.yp"
4675 {
4676 new CORBA::IDL::StringType($_[0],
4677 'value' => $_[1]
4678 );
4679 }
4680 ],
4681 [#Rule 208
4682 'string_type', 4,
4683 sub
4684 #line 1236 "Parser21.yp"
4685 {
4686 $_[0]->Error("Expression expected.\n");
4687 $_[0]->YYErrok();
4688 }
4689 ],
4690 [#Rule 209
4691 'wide_string_type', 4,
4692 sub
4693 #line 1245 "Parser21.yp"
4694 {
4695 new CORBA::IDL::WideStringType($_[0],
4696 'value' => $_[1],
4697 'max' => $_[3]
4698 );
4699 }
4700 ],
4701 [#Rule 210
4702 'wide_string_type', 1,
4703 sub
4704 #line 1252 "Parser21.yp"
4705 {
4706 new CORBA::IDL::WideStringType($_[0],
4707 'value' => $_[1]
4708 );
4709 }
4710 ],
4711 [#Rule 211
4712 'wide_string_type', 4,
4713 sub
4714 #line 1258 "Parser21.yp"
4715 {
4716 $_[0]->Error("Expression expected.\n");
4717 $_[0]->YYErrok();
4718 }
4719 ],
4720 [#Rule 212
4721 'array_declarator', 2,
4722 sub
4723 #line 1267 "Parser21.yp"
4724 {
4725 unshift @{$_[2]}, $_[1];
4726 $_[2];
4727 }
4728 ],
4729 [#Rule 213
4730 'fixed_array_sizes', 1,
4731 sub
4732 #line 1275 "Parser21.yp"
4733 {
4734 [$_[1]];
4735 }
4736 ],
4737 [#Rule 214
4738 'fixed_array_sizes', 2,
4739 sub
4740 #line 1279 "Parser21.yp"
4741 {
4742 unshift @{$_[2]}, $_[1];
4743 $_[2];
4744 }
4745 ],
4746 [#Rule 215
4747 'fixed_array_size', 3,
4748 sub
4749 #line 1288 "Parser21.yp"
4750 {
4751 $_[2];
4752 }
4753 ],
4754 [#Rule 216
4755 'fixed_array_size', 3,
4756 sub
4757 #line 1292 "Parser21.yp"
4758 {
4759 $_[0]->Error("Expression expected.\n");
4760 $_[0]->YYErrok();
4761 }
4762 ],
4763 [#Rule 217
4764 'attr_dcl', 4,
4765 sub
4766 #line 1301 "Parser21.yp"
4767 {
4768 new CORBA::IDL::Attributes($_[0],
4769 'modifier' => $_[1],
4770 'type' => $_[3],
4771 'list_expr' => $_[4]
4772 );
4773 }
4774 ],
4775 [#Rule 218
4776 'attr_dcl', 3,
4777 sub
4778 #line 1309 "Parser21.yp"
4779 {
4780 $_[0]->Error("type expected.\n");
4781 $_[0]->YYErrok();
4782 }
4783 ],
4784 [#Rule 219
4785 'attr_mod', 1, undef
4786 ],
4787 [#Rule 220
4788 'attr_mod', 0, undef
4789 ],
4790 [#Rule 221
4791 'simple_declarators', 1,
4792 sub
4793 #line 1324 "Parser21.yp"
4794 {
4795 [$_[1]];
4796 }
4797 ],
4798 [#Rule 222
4799 'simple_declarators', 3,
4800 sub
4801 #line 1328 "Parser21.yp"
4802 {
4803 unshift @{$_[3]}, $_[1];
4804 $_[3];
4805 }
4806 ],
4807 [#Rule 223
4808 'except_dcl', 3,
4809 sub
4810 #line 1337 "Parser21.yp"
4811 {
4812 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4813 $_[1];
4814 }
4815 ],
4816 [#Rule 224
4817 'except_dcl', 4,
4818 sub
4819 #line 1342 "Parser21.yp"
4820 {
4821 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4822 $_[1]->Configure($_[0],
4823 'list_expr' => $_[3]
4824 ) if (defined $_[1]);
4825 }
4826 ],
4827 [#Rule 225
4828 'except_dcl', 4,
4829 sub
4830 #line 1349 "Parser21.yp"
4831 {
4832 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4833 $_[0]->Error("'members expected.\n");
4834 $_[0]->YYErrok();
4835 $_[1];
4836 }
4837 ],
4838 [#Rule 226
4839 'except_dcl', 2,
4840 sub
4841 #line 1356 "Parser21.yp"
4842 {
4843 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4844 $_[0]->Error("'\x7b' expected.\n");
4845 $_[0]->YYErrok();
4846 $_[1];
4847 }
4848 ],
4849 [#Rule 227
4850 'exception_header', 2,
4851 sub
4852 #line 1366 "Parser21.yp"
4853 {
4854 new CORBA::IDL::Exception($_[0],
4855 'idf' => $_[2],
4856 );
4857 }
4858 ],
4859 [#Rule 228
4860 'exception_header', 2,
4861 sub
4862 #line 1372 "Parser21.yp"
4863 {
4864 $_[0]->Error("Identifier expected.\n");
4865 $_[0]->YYErrok();
4866 }
4867 ],
4868 [#Rule 229
4869 'op_dcl', 4,
4870 sub
4871 #line 1381 "Parser21.yp"
4872 {
4873 delete $_[0]->YYData->{unnamed_symbtab}
4874 if (exists $_[0]->YYData->{unnamed_symbtab});
4875 $_[1]->Configure($_[0],
4876 'list_param' => $_[2],
4877 'list_raise' => $_[3],
4878 'list_context' => $_[4]
4879 ) if (defined $_[1]);
4880 }
4881 ],
4882 [#Rule 230
4883 'op_dcl', 2,
4884 sub
4885 #line 1391 "Parser21.yp"
4886 {
4887 delete $_[0]->YYData->{unnamed_symbtab}
4888 if (exists $_[0]->YYData->{unnamed_symbtab});
4889 $_[0]->Error("parameters declaration expected.\n");
4890 $_[0]->YYErrok();
4891 $_[1];
4892 }
4893 ],
4894 [#Rule 231
4895 'op_header', 3,
4896 sub
4897 #line 1402 "Parser21.yp"
4898 {
4899 new CORBA::IDL::Operation($_[0],
4900 'modifier' => $_[1],
4901 'type' => $_[2],
4902 'idf' => $_[3]
4903 );
4904 }
4905 ],
4906 [#Rule 232
4907 'op_header', 3,
4908 sub
4909 #line 1410 "Parser21.yp"
4910 {
4911 $_[0]->Error("Identifier expected.\n");
4912 $_[0]->YYErrok();
4913 }
4914 ],
4915 [#Rule 233
4916 'op_mod', 1, undef
4917 ],
4918 [#Rule 234
4919 'op_mod', 0, undef
4920 ],
4921 [#Rule 235
4922 'op_attribute', 1, undef
4923 ],
4924 [#Rule 236
4925 'op_type_spec', 1, undef
4926 ],
4927 [#Rule 237
4928 'op_type_spec', 1,
4929 sub
4930 #line 1434 "Parser21.yp"
4931 {
4932 new CORBA::IDL::VoidType($_[0],
4933 'value' => $_[1]
4934 );
4935 }
4936 ],
4937 [#Rule 238
4938 'op_type_spec', 1,
4939 sub
4940 #line 1440 "Parser21.yp"
4941 {
4942 $_[0]->Error("op_type_spec expected.\n");
4943 $_[1]; #default action
4944 }
4945 ],
4946 [#Rule 239
4947 'parameter_dcls', 3,
4948 sub
4949 #line 1449 "Parser21.yp"
4950 {
4951 $_[2];
4952 }
4953 ],
4954 [#Rule 240
4955 'parameter_dcls', 5,
4956 sub
4957 #line 1453 "Parser21.yp"
4958 {
4959 $_[0]->Error("'...' unexpected.\n");
4960 $_[2];
4961 }
4962 ],
4963 [#Rule 241
4964 'parameter_dcls', 4,
4965 sub
4966 #line 1458 "Parser21.yp"
4967 {
4968 $_[0]->Warning("',' unexpected.\n");
4969 $_[2];
4970 }
4971 ],
4972 [#Rule 242
4973 'parameter_dcls', 2,
4974 sub
4975 #line 1463 "Parser21.yp"
4976 {
4977 undef;
4978 }
4979 ],
4980 [#Rule 243
4981 'parameter_dcls', 3,
4982 sub
4983 #line 1467 "Parser21.yp"
4984 {
4985 $_[0]->Error("'...' unexpected.\n");
4986 undef;
4987 }
4988 ],
4989 [#Rule 244
4990 'parameter_dcls', 3,
4991 sub
4992 #line 1472 "Parser21.yp"
4993 {
4994 $_[0]->Error("parameters declaration expected.\n");
4995 $_[0]->YYErrok();
4996 }
4997 ],
4998 [#Rule 245
4999 'param_dcls', 1,
5000 sub
5001 #line 1480 "Parser21.yp"
5002 {
5003 [$_[1]];
5004 }
5005 ],
5006 [#Rule 246
5007 'param_dcls', 3,
5008 sub
5009 #line 1484 "Parser21.yp"
5010 {
5011 push @{$_[1]}, $_[3];
5012 $_[1];
5013 }
5014 ],
5015 [#Rule 247
5016 'param_dcls', 2,
5017 sub
5018 #line 1489 "Parser21.yp"
5019 {
5020 $_[0]->Error("';' unexpected.\n");
5021 [$_[1]];
5022 }
5023 ],
5024 [#Rule 248
5025 'param_dcl', 3,
5026 sub
5027 #line 1498 "Parser21.yp"
5028 {
5029 new CORBA::IDL::Parameter($_[0],
5030 'attr' => $_[1],
5031 'type' => $_[2],
5032 'idf' => $_[3]
5033 );
5034 }
5035 ],
5036 [#Rule 249
5037 'param_attribute', 1, undef
5038 ],
5039 [#Rule 250
5040 'param_attribute', 1, undef
5041 ],
5042 [#Rule 251
5043 'param_attribute', 1, undef
5044 ],
5045 [#Rule 252
5046 'param_attribute', 0,
5047 sub
5048 #line 1516 "Parser21.yp"
5049 {
5050 $_[0]->Error("(in|out|inout) expected.\n");
5051 $_[0]->YYErrok();
5052 }
5053 ],
5054 [#Rule 253
5055 'raises_expr', 4,
5056 sub
5057 #line 1525 "Parser21.yp"
5058 {
5059 $_[3];
5060 }
5061 ],
5062 [#Rule 254
5063 'raises_expr', 4,
5064 sub
5065 #line 1529 "Parser21.yp"
5066 {
5067 $_[0]->Error("name expected.\n");
5068 $_[0]->YYErrok();
5069 }
5070 ],
5071 [#Rule 255
5072 'raises_expr', 2,
5073 sub
5074 #line 1534 "Parser21.yp"
5075 {
5076 $_[0]->Error("'(' expected.\n");
5077 $_[0]->YYErrok();
5078 }
5079 ],
5080 [#Rule 256
5081 'raises_expr', 0, undef
5082 ],
5083 [#Rule 257
5084 'exception_names', 1,
5085 sub
5086 #line 1544 "Parser21.yp"
5087 {
5088 [$_[1]];
5089 }
5090 ],
5091 [#Rule 258
5092 'exception_names', 3,
5093 sub
5094 #line 1548 "Parser21.yp"
5095 {
5096 unshift @{$_[3]}, $_[1];
5097 $_[3];
5098 }
5099 ],
5100 [#Rule 259
5101 'exception_name', 1,
5102 sub
5103 #line 1556 "Parser21.yp"
5104 {
5105 CORBA::IDL::Exception->Lookup($_[0], $_[1]);
5106 }
5107 ],
5108 [#Rule 260
5109 'context_expr', 4,
5110 sub
5111 #line 1564 "Parser21.yp"
5112 {
5113 $_[3];
5114 }
5115 ],
5116 [#Rule 261
5117 'context_expr', 4,
5118 sub
5119 #line 1568 "Parser21.yp"
5120 {
5121 $_[0]->Error("string expected.\n");
5122 $_[0]->YYErrok();
5123 }
5124 ],
5125 [#Rule 262
5126 'context_expr', 2,
5127 sub
5128 #line 1573 "Parser21.yp"
5129 {
5130 $_[0]->Error("'(' expected.\n");
5131 $_[0]->YYErrok();
5132 }
5133 ],
5134 [#Rule 263
5135 'context_expr', 0, undef
5136 ],
5137 [#Rule 264
5138 'string_literals', 1,
5139 sub
5140 #line 1583 "Parser21.yp"
5141 {
5142 [$_[1]];
5143 }
5144 ],
5145 [#Rule 265
5146 'string_literals', 3,
5147 sub
5148 #line 1587 "Parser21.yp"
5149 {
5150 unshift @{$_[3]}, $_[1];
5151 $_[3];
5152 }
5153 ],
5154 [#Rule 266
5155 'param_type_spec', 1, undef
5156 ],
5157 [#Rule 267
5158 'param_type_spec', 1,
5159 sub
5160 #line 1598 "Parser21.yp"
5161 {
5162 $_[0]->Error("param_type_spec expected.\n");
5163 $_[1]; #default action
5164 }
5165 ],
5166 [#Rule 268
5167 'param_type_spec', 1,
5168 sub
5169 #line 1603 "Parser21.yp"
5170 {
5171 $_[0]->Error("param_type_spec expected.\n");
5172 $_[1]; #default action
5173 }
5174 ],
5175 [#Rule 269
5176 'param_type_spec', 1,
5177 sub
5178 #line 1608 "Parser21.yp"
5179 {
5180 $_[0]->Error("param_type_spec expected.\n");
5181 $_[1]; #default action
5182 }
5183 ],
5184 [#Rule 270
5185 'op_param_type_spec', 1, undef
5186 ],
5187 [#Rule 271
5188 'op_param_type_spec', 1, undef
5189 ],
5190 [#Rule 272
5191 'op_param_type_spec', 1, undef
5192 ],
5193 [#Rule 273
5194 'op_param_type_spec', 1, undef
5195 ],
5196 [#Rule 274
5197 'op_param_type_spec', 1,
5198 sub
5199 #line 1624 "Parser21.yp"
5200 {
5201 CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]);
5202 }
5203 ],
5204 [#Rule 275
5205 'fixed_pt_type', 6,
5206 sub
5207 #line 1632 "Parser21.yp"
5208 {
5209 new CORBA::IDL::FixedPtType($_[0],
5210 'value' => $_[1],
5211 'd' => $_[3],
5212 's' => $_[5]
5213 );
5214 }
5215 ],
5216 [#Rule 276
5217 'fixed_pt_type', 6,
5218 sub
5219 #line 1640 "Parser21.yp"
5220 {
5221 $_[0]->Error("Expression expected.\n");
5222 $_[0]->YYErrok();
5223 }
5224 ],
5225 [#Rule 277
5226 'fixed_pt_type', 4,
5227 sub
5228 #line 1645 "Parser21.yp"
5229 {
5230 $_[0]->Error("Expression expected.\n");
5231 $_[0]->YYErrok();
5232 }
5233 ],
5234 [#Rule 278
5235 'fixed_pt_type', 2,
5236 sub
5237 #line 1650 "Parser21.yp"
5238 {
5239 $_[0]->Error("'<' expected.\n");
5240 $_[0]->YYErrok();
5241 }
5242 ],
5243 [#Rule 279
5244 'fixed_pt_const_type', 1,
5245 sub
5246 #line 1659 "Parser21.yp"
5247 {
5248 new CORBA::IDL::FixedPtConstType($_[0],
5249 'value' => $_[1]
5250 );
5251 }
5252 ]
5253 ],
5254 @_);
5255 bless($self,$class);
5256 }
5257
5258 #line 1666 "Parser21.yp"
5259
5260
5261 use warnings;
5262
5263 our $VERSION = '2.61';
5264 our $IDL_VERSION = '2.1';
5265
5266 sub BuildUnop
5267 {
5268 my ($op, $expr) = @_;
5269
5270 my $node = new CORBA::IDL::UnaryOp($_[0],
5271 'op' => $op
5272 );
5273 push @$expr, $node;
5274 return $expr;
5275 }
5276
5277 sub BuildBinop
5278 {
5279 my ($left, $op, $right) = @_;
5280
5281 my $node = new CORBA::IDL::BinaryOp($_[0],
5282 'op' => $op
5283 );
5284 push @$left, @$right;
5285 push @$left, $node;
5286 return $left;
5287 }
5288
5289
5290 1;