IDL/Parser22.pm untested

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