IDL/Parser24.pm untested

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