1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259
|
state 0
$accept: .specification $end
CONST shift 11
ENUM shift 10
STRUCT shift 13
TYPEDEF shift 12
UNION shift 14
PROGRAM shift 15
. error
specification goto 1
definition_list goto 2
definition goto 3
enum_definition goto 4
const_definition goto 5
typedef_definition goto 6
struct_definition goto 7
union_definition goto 8
program_definition goto 9
state 1
$accept: specification.$end
$end accept
. error
state 2
specification: definition_list. (1)
. reduce 1 (src line 64)
state 3
definition_list: definition.';'
definition_list: definition.';' definition_list
';' shift 16
. error
state 4
definition: enum_definition. (6)
. reduce 6 (src line 78)
state 5
definition: const_definition. (7)
. reduce 7 (src line 80)
state 6
definition: typedef_definition. (8)
. reduce 8 (src line 81)
state 7
definition: struct_definition. (9)
. reduce 9 (src line 82)
state 8
definition: union_definition. (10)
. reduce 10 (src line 83)
state 9
definition: program_definition. (11)
. reduce 11 (src line 84)
state 10
enum_definition: ENUM.enum_ident '{' enum_value_list '}'
IDENTIFIER shift 18
. error
enum_ident goto 17
state 11
const_definition: CONST.const_ident '=' IDENTIFIER
const_definition: CONST.const_ident '=' CONSTANT
IDENTIFIER shift 20
. error
const_ident goto 19
state 12
typedef_definition: TYPEDEF.$$25 declaration
$$25: . (25)
. reduce 25 (src line 157)
$$25 goto 21
state 13
struct_definition: STRUCT.struct_ident '{' $$52 declaration_list '}'
IDENTIFIER shift 23
. error
struct_ident goto 22
state 14
union_definition: UNION.union_ident $$57 SWITCH '(' simple_declaration ')' '{' case_list '}'
IDENTIFIER shift 25
. error
union_ident goto 24
state 15
program_definition: PROGRAM.program_ident '{' version_list '}' '=' value
IDENTIFIER shift 27
. error
program_ident goto 26
state 16
definition_list: definition ';'. (4)
definition_list: definition ';'.definition_list
CONST shift 11
ENUM shift 10
STRUCT shift 13
TYPEDEF shift 12
UNION shift 14
PROGRAM shift 15
. reduce 4 (src line 73)
definition_list goto 28
definition goto 3
enum_definition goto 4
const_definition goto 5
typedef_definition goto 6
struct_definition goto 7
union_definition goto 8
program_definition goto 9
state 17
enum_definition: ENUM enum_ident.'{' enum_value_list '}'
'{' shift 29
. error
state 18
enum_ident: IDENTIFIER. (20)
. reduce 20 (src line 131)
state 19
const_definition: CONST const_ident.'=' IDENTIFIER
const_definition: CONST const_ident.'=' CONSTANT
'=' shift 30
. error
state 20
const_ident: IDENTIFIER. (24)
. reduce 24 (src line 153)
state 21
typedef_definition: TYPEDEF $$25.declaration
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. error
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
declaration goto 31
simple_declaration goto 32
fixed_array_declaration goto 33
variable_array_declaration goto 34
pointer_declaration goto 35
type_specifier goto 36
int_spec goto 37
state 22
struct_definition: STRUCT struct_ident.'{' $$52 declaration_list '}'
'{' shift 52
. error
state 23
struct_ident: IDENTIFIER. (54)
. reduce 54 (src line 218)
state 24
union_definition: UNION union_ident.$$57 SWITCH '(' simple_declaration ')' '{' case_list '}'
$$57: . (57)
. reduce 57 (src line 227)
$$57 goto 53
state 25
union_ident: IDENTIFIER. (59)
. reduce 59 (src line 231)
state 26
program_definition: PROGRAM program_ident.'{' version_list '}' '=' value
'{' shift 54
. error
state 27
program_ident: IDENTIFIER. (67)
. reduce 67 (src line 249)
state 28
definition_list: definition ';' definition_list. (5)
. reduce 5 (src line 75)
state 29
enum_definition: ENUM enum_ident '{'.enum_value_list '}'
IDENTIFIER shift 60
METADATACOMMENT shift 59
PROCIDENTIFIER shift 61
. error
enum_value_list goto 55
enum_value goto 56
enum_value_ident goto 57
enum_proc_ident goto 58
state 30
const_definition: CONST const_ident '='.IDENTIFIER
const_definition: CONST const_ident '='.CONSTANT
IDENTIFIER shift 62
CONSTANT shift 63
. error
state 31
typedef_definition: TYPEDEF $$25 declaration. (26)
. reduce 26 (src line 158)
state 32
declaration: simple_declaration. (27)
. reduce 27 (src line 161)
state 33
declaration: fixed_array_declaration. (28)
. reduce 28 (src line 163)
state 34
declaration: variable_array_declaration. (29)
. reduce 29 (src line 164)
state 35
declaration: pointer_declaration. (30)
. reduce 30 (src line 165)
state 36
simple_declaration: type_specifier.variable_ident
fixed_array_declaration: type_specifier.variable_ident '[' value ']'
variable_array_declaration: type_specifier.variable_ident '<' value '>'
variable_array_declaration: type_specifier.variable_ident '<' '>'
pointer_declaration: type_specifier.'*' variable_ident
IDENTIFIER shift 66
'*' shift 65
. error
variable_ident goto 64
state 37
type_specifier: int_spec. (32)
. reduce 32 (src line 172)
state 38
type_specifier: UNSIGNED.int_spec
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
. error
int_spec goto 67
state 39
type_specifier: FLOAT. (34)
. reduce 34 (src line 175)
state 40
type_specifier: DOUBLE. (35)
. reduce 35 (src line 176)
state 41
type_specifier: BOOL. (36)
. reduce 36 (src line 177)
state 42
type_specifier: STRING. (37)
. reduce 37 (src line 178)
state 43
type_specifier: OPAQUE. (38)
. reduce 38 (src line 179)
state 44
type_specifier: enum_definition. (39)
. reduce 39 (src line 180)
state 45
type_specifier: struct_definition. (40)
. reduce 40 (src line 181)
state 46
type_specifier: union_definition. (41)
. reduce 41 (src line 182)
state 47
type_specifier: IDENTIFIER. (42)
. reduce 42 (src line 183)
state 48
int_spec: HYPER. (43)
. reduce 43 (src line 186)
state 49
int_spec: INT. (44)
. reduce 44 (src line 188)
state 50
int_spec: SHORT. (45)
. reduce 45 (src line 189)
state 51
int_spec: CHAR. (46)
. reduce 46 (src line 190)
state 52
struct_definition: STRUCT struct_ident '{'.$$52 declaration_list '}'
$$52: . (52)
. reduce 52 (src line 214)
$$52 goto 68
state 53
union_definition: UNION union_ident $$57.SWITCH '(' simple_declaration ')' '{' case_list '}'
SWITCH shift 69
. error
state 54
program_definition: PROGRAM program_ident '{'.version_list '}' '=' value
VERSION shift 72
. error
version_list goto 70
version goto 71
state 55
enum_definition: ENUM enum_ident '{' enum_value_list.'}'
'}' shift 73
. error
state 56
enum_value_list: enum_value. (13)
enum_value_list: enum_value.',' enum_value_list
',' shift 74
. reduce 13 (src line 91)
state 57
enum_value: enum_value_ident. (15)
enum_value: enum_value_ident.'=' value
'=' shift 75
. reduce 15 (src line 96)
state 58
enum_value: enum_proc_ident.'=' value
'=' shift 76
. error
state 59
enum_value: METADATACOMMENT.enum_proc_ident '=' value
PROCIDENTIFIER shift 61
. error
enum_proc_ident goto 77
state 60
enum_value_ident: IDENTIFIER. (21)
. reduce 21 (src line 135)
state 61
enum_proc_ident: PROCIDENTIFIER. (19)
. reduce 19 (src line 127)
state 62
const_definition: CONST const_ident '=' IDENTIFIER. (22)
. reduce 22 (src line 142)
state 63
const_definition: CONST const_ident '=' CONSTANT. (23)
. reduce 23 (src line 144)
state 64
simple_declaration: type_specifier variable_ident. (31)
fixed_array_declaration: type_specifier variable_ident.'[' value ']'
variable_array_declaration: type_specifier variable_ident.'<' value '>'
variable_array_declaration: type_specifier variable_ident.'<' '>'
'[' shift 78
'<' shift 79
. reduce 31 (src line 168)
state 65
pointer_declaration: type_specifier '*'.variable_ident
IDENTIFIER shift 66
. error
variable_ident goto 80
state 66
variable_ident: IDENTIFIER. (47)
. reduce 47 (src line 193)
state 67
type_specifier: UNSIGNED int_spec. (33)
. reduce 33 (src line 174)
state 68
struct_definition: STRUCT struct_ident '{' $$52.declaration_list '}'
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. error
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
declaration goto 82
simple_declaration goto 32
fixed_array_declaration goto 33
variable_array_declaration goto 34
pointer_declaration goto 35
type_specifier goto 36
int_spec goto 37
declaration_list goto 81
state 69
union_definition: UNION union_ident $$57 SWITCH.'(' simple_declaration ')' '{' case_list '}'
'(' shift 83
. error
state 70
program_definition: PROGRAM program_ident '{' version_list.'}' '=' value
'}' shift 84
. error
state 71
version_list: version.';'
version_list: version.';' version_list
';' shift 85
. error
state 72
version: VERSION.version_ident '{' procedure_list '}' '=' value ';'
IDENTIFIER shift 87
. error
version_ident goto 86
state 73
enum_definition: ENUM enum_ident '{' enum_value_list '}'. (12)
. reduce 12 (src line 87)
state 74
enum_value_list: enum_value ','.enum_value_list
IDENTIFIER shift 60
METADATACOMMENT shift 59
PROCIDENTIFIER shift 61
. error
enum_value_list goto 88
enum_value goto 56
enum_value_ident goto 57
enum_proc_ident goto 58
state 75
enum_value: enum_value_ident '='.value
IDENTIFIER shift 90
CONSTANT shift 91
. error
value goto 89
state 76
enum_value: enum_proc_ident '='.value
IDENTIFIER shift 90
CONSTANT shift 91
. error
value goto 92
state 77
enum_value: METADATACOMMENT enum_proc_ident.'=' value
'=' shift 93
. error
state 78
fixed_array_declaration: type_specifier variable_ident '['.value ']'
IDENTIFIER shift 90
CONSTANT shift 91
. error
value goto 94
state 79
variable_array_declaration: type_specifier variable_ident '<'.value '>'
variable_array_declaration: type_specifier variable_ident '<'.'>'
IDENTIFIER shift 90
CONSTANT shift 91
'>' shift 96
. error
value goto 95
state 80
pointer_declaration: type_specifier '*' variable_ident. (51)
. reduce 51 (src line 210)
state 81
struct_definition: STRUCT struct_ident '{' $$52 declaration_list.'}'
'}' shift 97
. error
state 82
declaration_list: declaration.';'
declaration_list: declaration.';' declaration_list
';' shift 98
. error
state 83
union_definition: UNION union_ident $$57 SWITCH '('.simple_declaration ')' '{' case_list '}'
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. error
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
simple_declaration goto 99
type_specifier goto 100
int_spec goto 37
state 84
program_definition: PROGRAM program_ident '{' version_list '}'.'=' value
'=' shift 101
. error
state 85
version_list: version ';'. (68)
version_list: version ';'.version_list
VERSION shift 72
. reduce 68 (src line 253)
version_list goto 102
version goto 71
state 86
version: VERSION version_ident.'{' procedure_list '}' '=' value ';'
'{' shift 103
. error
state 87
version_ident: IDENTIFIER. (71)
. reduce 71 (src line 262)
state 88
enum_value_list: enum_value ',' enum_value_list. (14)
. reduce 14 (src line 93)
state 89
enum_value: enum_value_ident '=' value. (16)
. reduce 16 (src line 104)
state 90
value: IDENTIFIER. (2)
. reduce 2 (src line 68)
state 91
value: CONSTANT. (3)
. reduce 3 (src line 70)
state 92
enum_value: enum_proc_ident '=' value. (17)
. reduce 17 (src line 111)
state 93
enum_value: METADATACOMMENT enum_proc_ident '='.value
IDENTIFIER shift 90
CONSTANT shift 91
. error
value goto 104
state 94
fixed_array_declaration: type_specifier variable_ident '[' value.']'
']' shift 105
. error
state 95
variable_array_declaration: type_specifier variable_ident '<' value.'>'
'>' shift 106
. error
state 96
variable_array_declaration: type_specifier variable_ident '<' '>'. (50)
. reduce 50 (src line 203)
state 97
struct_definition: STRUCT struct_ident '{' $$52 declaration_list '}'. (53)
. reduce 53 (src line 215)
state 98
declaration_list: declaration ';'. (55)
declaration_list: declaration ';'.declaration_list
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. reduce 55 (src line 222)
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
declaration goto 82
simple_declaration goto 32
fixed_array_declaration goto 33
variable_array_declaration goto 34
pointer_declaration goto 35
type_specifier goto 36
int_spec goto 37
declaration_list goto 107
state 99
union_definition: UNION union_ident $$57 SWITCH '(' simple_declaration.')' '{' case_list '}'
')' shift 108
. error
state 100
simple_declaration: type_specifier.variable_ident
IDENTIFIER shift 66
. error
variable_ident goto 109
state 101
program_definition: PROGRAM program_ident '{' version_list '}' '='.value
IDENTIFIER shift 90
CONSTANT shift 91
. error
value goto 110
state 102
version_list: version ';' version_list. (69)
. reduce 69 (src line 255)
state 103
version: VERSION version_ident '{'.procedure_list '}' '=' value ';'
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. error
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
type_specifier goto 113
int_spec goto 37
procedure_list goto 111
procedure goto 112
state 104
enum_value: METADATACOMMENT enum_proc_ident '=' value. (18)
. reduce 18 (src line 118)
state 105
fixed_array_declaration: type_specifier variable_ident '[' value ']'. (48)
. reduce 48 (src line 197)
state 106
variable_array_declaration: type_specifier variable_ident '<' value '>'. (49)
. reduce 49 (src line 201)
state 107
declaration_list: declaration ';' declaration_list. (56)
. reduce 56 (src line 224)
state 108
union_definition: UNION union_ident $$57 SWITCH '(' simple_declaration ')'.'{' case_list '}'
'{' shift 114
. error
state 109
simple_declaration: type_specifier variable_ident. (31)
. reduce 31 (src line 168)
state 110
program_definition: PROGRAM program_ident '{' version_list '}' '=' value. (66)
. reduce 66 (src line 245)
state 111
version: VERSION version_ident '{' procedure_list.'}' '=' value ';'
'}' shift 115
. error
state 112
procedure_list: procedure.';'
procedure_list: procedure.';' procedure_list
';' shift 116
. error
state 113
procedure: type_specifier.procedure_ident '(' type_specifier ')' '=' value ';'
IDENTIFIER shift 118
. error
procedure_ident goto 117
state 114
union_definition: UNION union_ident $$57 SWITCH '(' simple_declaration ')' '{'.case_list '}'
CASE shift 121
DEFAULT shift 122
. error
case_list goto 119
case goto 120
state 115
version: VERSION version_ident '{' procedure_list '}'.'=' value ';'
'=' shift 123
. error
state 116
procedure_list: procedure ';'. (72)
procedure_list: procedure ';'.procedure_list
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. reduce 72 (src line 266)
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
type_specifier goto 113
int_spec goto 37
procedure_list goto 124
procedure goto 112
state 117
procedure: type_specifier procedure_ident.'(' type_specifier ')' '=' value ';'
'(' shift 125
. error
state 118
procedure_ident: IDENTIFIER. (75)
. reduce 75 (src line 275)
state 119
union_definition: UNION union_ident $$57 SWITCH '(' simple_declaration ')' '{' case_list.'}'
'}' shift 126
. error
state 120
case_list: case.';'
case_list: case.';' case_list
';' shift 127
. error
state 121
case: CASE.value $$62 ':' declaration
IDENTIFIER shift 90
CONSTANT shift 91
. error
value goto 128
state 122
case: DEFAULT.$$64 ':' declaration
$$64: . (64)
. reduce 64 (src line 242)
$$64 goto 129
state 123
version: VERSION version_ident '{' procedure_list '}' '='.value ';'
IDENTIFIER shift 90
CONSTANT shift 91
. error
value goto 130
state 124
procedure_list: procedure ';' procedure_list. (73)
. reduce 73 (src line 268)
state 125
procedure: type_specifier procedure_ident '('.type_specifier ')' '=' value ';'
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. error
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
type_specifier goto 131
int_spec goto 37
state 126
union_definition: UNION union_ident $$57 SWITCH '(' simple_declaration ')' '{' case_list '}'. (58)
. reduce 58 (src line 228)
state 127
case_list: case ';'. (60)
case_list: case ';'.case_list
CASE shift 121
DEFAULT shift 122
. reduce 60 (src line 235)
case_list goto 132
case goto 120
state 128
case: CASE value.$$62 ':' declaration
$$62: . (62)
. reduce 62 (src line 240)
$$62 goto 133
state 129
case: DEFAULT $$64.':' declaration
':' shift 134
. error
state 130
version: VERSION version_ident '{' procedure_list '}' '=' value.';'
';' shift 135
. error
state 131
procedure: type_specifier procedure_ident '(' type_specifier.')' '=' value ';'
')' shift 136
. error
state 132
case_list: case ';' case_list. (61)
. reduce 61 (src line 237)
state 133
case: CASE value $$62.':' declaration
':' shift 137
. error
state 134
case: DEFAULT $$64 ':'.declaration
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. error
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
declaration goto 138
simple_declaration goto 32
fixed_array_declaration goto 33
variable_array_declaration goto 34
pointer_declaration goto 35
type_specifier goto 36
int_spec goto 37
state 135
version: VERSION version_ident '{' procedure_list '}' '=' value ';'. (70)
. reduce 70 (src line 258)
state 136
procedure: type_specifier procedure_ident '(' type_specifier ')'.'=' value ';'
'=' shift 139
. error
state 137
case: CASE value $$62 ':'.declaration
BOOL shift 41
DOUBLE shift 40
ENUM shift 10
FLOAT shift 39
OPAQUE shift 43
STRING shift 42
STRUCT shift 13
UNION shift 14
UNSIGNED shift 38
HYPER shift 48
INT shift 49
SHORT shift 50
CHAR shift 51
IDENTIFIER shift 47
. error
enum_definition goto 44
struct_definition goto 45
union_definition goto 46
declaration goto 140
simple_declaration goto 32
fixed_array_declaration goto 33
variable_array_declaration goto 34
pointer_declaration goto 35
type_specifier goto 36
int_spec goto 37
state 138
case: DEFAULT $$64 ':' declaration. (65)
. reduce 65 (src line 242)
state 139
procedure: type_specifier procedure_ident '(' type_specifier ')' '='.value ';'
IDENTIFIER shift 90
CONSTANT shift 91
. error
value goto 141
state 140
case: CASE value $$62 ':' declaration. (63)
. reduce 63 (src line 241)
state 141
procedure: type_specifier procedure_ident '(' type_specifier ')' '=' value.';'
';' shift 142
. error
state 142
procedure: type_specifier procedure_ident '(' type_specifier ')' '=' value ';'. (74)
. reduce 74 (src line 271)
42 terminals, 42 nonterminals
76 grammar rules, 143/16000 states
0 shift/reduce, 0 reduce/reduce conflicts reported
91 working sets used
memory: parser 163/240000
40 extra closures
223 shift entries, 1 exceptions
73 goto entries
63 entries saved by goto default
Optimizer space used: output 157/240000
157 table entries, 0 zero
maximum spread: 42, maximum offset: 139
|