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