1 0 $accept : lines $end 2 3 1 lines : 4 2 | lines line '\n' 5 3 | lines error '\n' 6 7 4 line : dexp 8 5 | vexp 9 6 | DREG '=' dexp 10 7 | VREG '=' vexp 11 12 8 dexp : CONST 13 9 | DREG 14 10 | dexp '+' dexp 15 11 | dexp '-' dexp 16 12 | dexp '*' dexp 17 13 | dexp '/' dexp 18 14 | '-' dexp 19 15 | '(' dexp ')' 20 21 16 vexp : dexp 22 17 | '(' dexp ',' dexp ')' 23 18 | VREG 24 19 | vexp '+' vexp 25 20 | dexp '+' vexp 26 21 | vexp '-' vexp 27 22 | dexp '-' vexp 28 23 | vexp '*' vexp 29 24 | dexp '*' vexp 30 25 | vexp '/' vexp 31 26 | dexp '/' vexp 32 27 | '-' vexp 33 28 | '(' vexp ')' 34 35state 0 36 $accept : . lines $end (0) 37 lines : . (1) 38 39 . reduce 1 40 41 lines goto 1 42 43 44state 1 45 $accept : lines . $end (0) 46 lines : lines . line '\n' (2) 47 lines : lines . error '\n' (3) 48 49 $end accept 50 error shift 2 51 DREG shift 3 52 VREG shift 4 53 CONST shift 5 54 '-' shift 6 55 '(' shift 7 56 . error 57 58 dexp goto 8 59 vexp goto 9 60 line goto 10 61 62 63state 2 64 lines : lines error . '\n' (3) 65 66 '\n' shift 11 67 . error 68 69 70state 3 71 line : DREG . '=' dexp (6) 72 dexp : DREG . (9) 73 74 '=' shift 12 75 '+' reduce 9 76 '-' reduce 9 77 '*' reduce 9 78 '/' reduce 9 79 '\n' reduce 9 80 81 82state 4 83 line : VREG . '=' vexp (7) 84 vexp : VREG . (18) 85 86 '=' shift 13 87 '+' reduce 18 88 '-' reduce 18 89 '*' reduce 18 90 '/' reduce 18 91 '\n' reduce 18 92 93 94state 5 95 dexp : CONST . (8) 96 97 . reduce 8 98 99 100state 6 101 dexp : '-' . dexp (14) 102 vexp : '-' . vexp (27) 103 104 DREG shift 14 105 VREG shift 15 106 CONST shift 5 107 '-' shift 6 108 '(' shift 7 109 . error 110 111 dexp goto 16 112 vexp goto 17 113 114 115state 7 116 dexp : '(' . dexp ')' (15) 117 vexp : '(' . dexp ',' dexp ')' (17) 118 vexp : '(' . vexp ')' (28) 119 120 DREG shift 14 121 VREG shift 15 122 CONST shift 5 123 '-' shift 6 124 '(' shift 7 125 . error 126 127 dexp goto 18 128 vexp goto 19 129 130 1318: shift/reduce conflict (shift 20, reduce 16) on '+' 1328: shift/reduce conflict (shift 21, reduce 16) on '-' 1338: shift/reduce conflict (shift 22, reduce 16) on '*' 1348: shift/reduce conflict (shift 23, reduce 16) on '/' 1358: reduce/reduce conflict (reduce 4, reduce 16) on '\n' 136state 8 137 line : dexp . (4) 138 dexp : dexp . '+' dexp (10) 139 dexp : dexp . '-' dexp (11) 140 dexp : dexp . '*' dexp (12) 141 dexp : dexp . '/' dexp (13) 142 vexp : dexp . (16) 143 vexp : dexp . '+' vexp (20) 144 vexp : dexp . '-' vexp (22) 145 vexp : dexp . '*' vexp (24) 146 vexp : dexp . '/' vexp (26) 147 148 '+' [trial] shift 20 149 '-' [trial] shift 21 150 '*' [trial] shift 22 151 '/' [trial] shift 23 152 '+' [trial] reduce 16 153 '-' [trial] reduce 16 154 '*' [trial] reduce 16 155 '/' [trial] reduce 16 156 '\n' [trial] reduce 4 157 '\n' [trial] reduce 16 158 159 160state 9 161 line : vexp . (5) 162 vexp : vexp . '+' vexp (19) 163 vexp : vexp . '-' vexp (21) 164 vexp : vexp . '*' vexp (23) 165 vexp : vexp . '/' vexp (25) 166 167 '+' shift 24 168 '-' shift 25 169 '*' shift 26 170 '/' shift 27 171 '\n' reduce 5 172 173 174state 10 175 lines : lines line . '\n' (2) 176 177 '\n' shift 28 178 . error 179 180 181state 11 182 lines : lines error '\n' . (3) 183 184 . reduce 3 185 186 187state 12 188 line : DREG '=' . dexp (6) 189 190 DREG shift 14 191 CONST shift 5 192 '-' shift 29 193 '(' shift 30 194 . error 195 196 dexp goto 31 197 198 199state 13 200 line : VREG '=' . vexp (7) 201 202 DREG shift 14 203 VREG shift 15 204 CONST shift 5 205 '-' shift 6 206 '(' shift 7 207 . error 208 209 dexp goto 32 210 vexp goto 33 211 212 213state 14 214 dexp : DREG . (9) 215 216 . reduce 9 217 218 219state 15 220 vexp : VREG . (18) 221 222 . reduce 18 223 224 22516: reduce/reduce conflict (reduce 14, reduce 16) on '+' 22616: reduce/reduce conflict (reduce 14, reduce 16) on '-' 22716: reduce/reduce conflict (reduce 14, reduce 16) on '*' 22816: reduce/reduce conflict (reduce 14, reduce 16) on '/' 22916: reduce/reduce conflict (reduce 14, reduce 16) on '\n' 23016: reduce/reduce conflict (reduce 14, reduce 16) on ')' 231state 16 232 dexp : dexp . '+' dexp (10) 233 dexp : dexp . '-' dexp (11) 234 dexp : dexp . '*' dexp (12) 235 dexp : dexp . '/' dexp (13) 236 dexp : '-' dexp . (14) 237 vexp : dexp . (16) 238 vexp : dexp . '+' vexp (20) 239 vexp : dexp . '-' vexp (22) 240 vexp : dexp . '*' vexp (24) 241 vexp : dexp . '/' vexp (26) 242 243 '+' [trial] reduce 14 244 '+' [trial] reduce 16 245 '-' [trial] reduce 14 246 '-' [trial] reduce 16 247 '*' [trial] reduce 14 248 '*' [trial] reduce 16 249 '/' [trial] reduce 14 250 '/' [trial] reduce 16 251 '\n' [trial] reduce 14 252 '\n' [trial] reduce 16 253 ')' [trial] reduce 14 254 ')' [trial] reduce 16 255 ',' reduce 14 256 257 258state 17 259 vexp : vexp . '+' vexp (19) 260 vexp : vexp . '-' vexp (21) 261 vexp : vexp . '*' vexp (23) 262 vexp : vexp . '/' vexp (25) 263 vexp : '-' vexp . (27) 264 265 . reduce 27 266 267 26818: shift/reduce conflict (shift 20, reduce 16) on '+' 26918: shift/reduce conflict (shift 21, reduce 16) on '-' 27018: shift/reduce conflict (shift 22, reduce 16) on '*' 27118: shift/reduce conflict (shift 23, reduce 16) on '/' 27218: shift/reduce conflict (shift 34, reduce 16) on ')' 273state 18 274 dexp : dexp . '+' dexp (10) 275 dexp : dexp . '-' dexp (11) 276 dexp : dexp . '*' dexp (12) 277 dexp : dexp . '/' dexp (13) 278 dexp : '(' dexp . ')' (15) 279 vexp : dexp . (16) 280 vexp : '(' dexp . ',' dexp ')' (17) 281 vexp : dexp . '+' vexp (20) 282 vexp : dexp . '-' vexp (22) 283 vexp : dexp . '*' vexp (24) 284 vexp : dexp . '/' vexp (26) 285 286 '+' [trial] shift 20 287 '-' [trial] shift 21 288 '*' [trial] shift 22 289 '/' [trial] shift 23 290 ')' [trial] shift 34 291 ',' shift 35 292 '+' [trial] reduce 16 293 '-' [trial] reduce 16 294 '*' [trial] reduce 16 295 '/' [trial] reduce 16 296 ')' [trial] reduce 16 297 298 299state 19 300 vexp : vexp . '+' vexp (19) 301 vexp : vexp . '-' vexp (21) 302 vexp : vexp . '*' vexp (23) 303 vexp : vexp . '/' vexp (25) 304 vexp : '(' vexp . ')' (28) 305 306 '+' shift 24 307 '-' shift 25 308 '*' shift 26 309 '/' shift 27 310 ')' shift 36 311 . error 312 313 314state 20 315 dexp : dexp '+' . dexp (10) 316 vexp : dexp '+' . vexp (20) 317 318 DREG shift 14 319 VREG shift 15 320 CONST shift 5 321 '-' shift 6 322 '(' shift 7 323 . error 324 325 dexp goto 37 326 vexp goto 38 327 328 329state 21 330 dexp : dexp '-' . dexp (11) 331 vexp : dexp '-' . vexp (22) 332 333 DREG shift 14 334 VREG shift 15 335 CONST shift 5 336 '-' shift 6 337 '(' shift 7 338 . error 339 340 dexp goto 39 341 vexp goto 40 342 343 344state 22 345 dexp : dexp '*' . dexp (12) 346 vexp : dexp '*' . vexp (24) 347 348 DREG shift 14 349 VREG shift 15 350 CONST shift 5 351 '-' shift 6 352 '(' shift 7 353 . error 354 355 dexp goto 41 356 vexp goto 42 357 358 359state 23 360 dexp : dexp '/' . dexp (13) 361 vexp : dexp '/' . vexp (26) 362 363 DREG shift 14 364 VREG shift 15 365 CONST shift 5 366 '-' shift 6 367 '(' shift 7 368 . error 369 370 dexp goto 43 371 vexp goto 44 372 373 374state 24 375 vexp : vexp '+' . vexp (19) 376 377 DREG shift 14 378 VREG shift 15 379 CONST shift 5 380 '-' shift 6 381 '(' shift 7 382 . error 383 384 dexp goto 32 385 vexp goto 45 386 387 388state 25 389 vexp : vexp '-' . vexp (21) 390 391 DREG shift 14 392 VREG shift 15 393 CONST shift 5 394 '-' shift 6 395 '(' shift 7 396 . error 397 398 dexp goto 32 399 vexp goto 46 400 401 402state 26 403 vexp : vexp '*' . vexp (23) 404 405 DREG shift 14 406 VREG shift 15 407 CONST shift 5 408 '-' shift 6 409 '(' shift 7 410 . error 411 412 dexp goto 32 413 vexp goto 47 414 415 416state 27 417 vexp : vexp '/' . vexp (25) 418 419 DREG shift 14 420 VREG shift 15 421 CONST shift 5 422 '-' shift 6 423 '(' shift 7 424 . error 425 426 dexp goto 32 427 vexp goto 48 428 429 430state 28 431 lines : lines line '\n' . (2) 432 433 . reduce 2 434 435 436state 29 437 dexp : '-' . dexp (14) 438 439 DREG shift 14 440 CONST shift 5 441 '-' shift 29 442 '(' shift 30 443 . error 444 445 dexp goto 49 446 447 448state 30 449 dexp : '(' . dexp ')' (15) 450 451 DREG shift 14 452 CONST shift 5 453 '-' shift 29 454 '(' shift 30 455 . error 456 457 dexp goto 50 458 459 460state 31 461 line : DREG '=' dexp . (6) 462 dexp : dexp . '+' dexp (10) 463 dexp : dexp . '-' dexp (11) 464 dexp : dexp . '*' dexp (12) 465 dexp : dexp . '/' dexp (13) 466 467 '+' shift 51 468 '-' shift 52 469 '*' shift 53 470 '/' shift 54 471 '\n' reduce 6 472 473 47432: shift/reduce conflict (shift 20, reduce 16) on '+' 47532: shift/reduce conflict (shift 21, reduce 16) on '-' 47632: shift/reduce conflict (shift 22, reduce 16) on '*' 47732: shift/reduce conflict (shift 23, reduce 16) on '/' 478state 32 479 dexp : dexp . '+' dexp (10) 480 dexp : dexp . '-' dexp (11) 481 dexp : dexp . '*' dexp (12) 482 dexp : dexp . '/' dexp (13) 483 vexp : dexp . (16) 484 vexp : dexp . '+' vexp (20) 485 vexp : dexp . '-' vexp (22) 486 vexp : dexp . '*' vexp (24) 487 vexp : dexp . '/' vexp (26) 488 489 '+' [trial] shift 20 490 '-' [trial] shift 21 491 '*' [trial] shift 22 492 '/' [trial] shift 23 493 '+' [trial] reduce 16 494 '-' [trial] reduce 16 495 '*' [trial] reduce 16 496 '/' [trial] reduce 16 497 '\n' reduce 16 498 ')' reduce 16 499 500 501state 33 502 line : VREG '=' vexp . (7) 503 vexp : vexp . '+' vexp (19) 504 vexp : vexp . '-' vexp (21) 505 vexp : vexp . '*' vexp (23) 506 vexp : vexp . '/' vexp (25) 507 508 '+' shift 24 509 '-' shift 25 510 '*' shift 26 511 '/' shift 27 512 '\n' reduce 7 513 514 515state 34 516 dexp : '(' dexp ')' . (15) 517 518 . reduce 15 519 520 521state 35 522 vexp : '(' dexp ',' . dexp ')' (17) 523 524 DREG shift 14 525 CONST shift 5 526 '-' shift 29 527 '(' shift 30 528 . error 529 530 dexp goto 55 531 532 533state 36 534 vexp : '(' vexp ')' . (28) 535 536 . reduce 28 537 538 53937: reduce/reduce conflict (reduce 10, reduce 16) on '+' 54037: reduce/reduce conflict (reduce 10, reduce 16) on '-' 54137: shift/reduce conflict (shift 22, reduce 16) on '*' 54237: shift/reduce conflict (shift 23, reduce 16) on '/' 54337: reduce/reduce conflict (reduce 10, reduce 16) on '\n' 54437: reduce/reduce conflict (reduce 10, reduce 16) on ')' 545state 37 546 dexp : dexp . '+' dexp (10) 547 dexp : dexp '+' dexp . (10) 548 dexp : dexp . '-' dexp (11) 549 dexp : dexp . '*' dexp (12) 550 dexp : dexp . '/' dexp (13) 551 vexp : dexp . (16) 552 vexp : dexp . '+' vexp (20) 553 vexp : dexp . '-' vexp (22) 554 vexp : dexp . '*' vexp (24) 555 vexp : dexp . '/' vexp (26) 556 557 '*' [trial] shift 22 558 '/' [trial] shift 23 559 '+' [trial] reduce 10 560 '+' [trial] reduce 16 561 '-' [trial] reduce 10 562 '-' [trial] reduce 16 563 '*' [trial] reduce 16 564 '/' [trial] reduce 16 565 '\n' [trial] reduce 10 566 '\n' [trial] reduce 16 567 ')' [trial] reduce 10 568 ')' [trial] reduce 16 569 ',' reduce 10 570 571 572state 38 573 vexp : vexp . '+' vexp (19) 574 vexp : dexp '+' vexp . (20) 575 vexp : vexp . '-' vexp (21) 576 vexp : vexp . '*' vexp (23) 577 vexp : vexp . '/' vexp (25) 578 579 '*' shift 26 580 '/' shift 27 581 '+' reduce 20 582 '-' reduce 20 583 '\n' reduce 20 584 ')' reduce 20 585 586 58739: reduce/reduce conflict (reduce 11, reduce 16) on '+' 58839: reduce/reduce conflict (reduce 11, reduce 16) on '-' 58939: shift/reduce conflict (shift 22, reduce 16) on '*' 59039: shift/reduce conflict (shift 23, reduce 16) on '/' 59139: reduce/reduce conflict (reduce 11, reduce 16) on '\n' 59239: reduce/reduce conflict (reduce 11, reduce 16) on ')' 593state 39 594 dexp : dexp . '+' dexp (10) 595 dexp : dexp . '-' dexp (11) 596 dexp : dexp '-' dexp . (11) 597 dexp : dexp . '*' dexp (12) 598 dexp : dexp . '/' dexp (13) 599 vexp : dexp . (16) 600 vexp : dexp . '+' vexp (20) 601 vexp : dexp . '-' vexp (22) 602 vexp : dexp . '*' vexp (24) 603 vexp : dexp . '/' vexp (26) 604 605 '*' [trial] shift 22 606 '/' [trial] shift 23 607 '+' [trial] reduce 11 608 '+' [trial] reduce 16 609 '-' [trial] reduce 11 610 '-' [trial] reduce 16 611 '*' [trial] reduce 16 612 '/' [trial] reduce 16 613 '\n' [trial] reduce 11 614 '\n' [trial] reduce 16 615 ')' [trial] reduce 11 616 ')' [trial] reduce 16 617 ',' reduce 11 618 619 620state 40 621 vexp : vexp . '+' vexp (19) 622 vexp : vexp . '-' vexp (21) 623 vexp : dexp '-' vexp . (22) 624 vexp : vexp . '*' vexp (23) 625 vexp : vexp . '/' vexp (25) 626 627 '*' shift 26 628 '/' shift 27 629 '+' reduce 22 630 '-' reduce 22 631 '\n' reduce 22 632 ')' reduce 22 633 634 63541: reduce/reduce conflict (reduce 12, reduce 16) on '+' 63641: reduce/reduce conflict (reduce 12, reduce 16) on '-' 63741: reduce/reduce conflict (reduce 12, reduce 16) on '*' 63841: reduce/reduce conflict (reduce 12, reduce 16) on '/' 63941: reduce/reduce conflict (reduce 12, reduce 16) on '\n' 64041: reduce/reduce conflict (reduce 12, reduce 16) on ')' 641state 41 642 dexp : dexp . '+' dexp (10) 643 dexp : dexp . '-' dexp (11) 644 dexp : dexp . '*' dexp (12) 645 dexp : dexp '*' dexp . (12) 646 dexp : dexp . '/' dexp (13) 647 vexp : dexp . (16) 648 vexp : dexp . '+' vexp (20) 649 vexp : dexp . '-' vexp (22) 650 vexp : dexp . '*' vexp (24) 651 vexp : dexp . '/' vexp (26) 652 653 '+' [trial] reduce 12 654 '+' [trial] reduce 16 655 '-' [trial] reduce 12 656 '-' [trial] reduce 16 657 '*' [trial] reduce 12 658 '*' [trial] reduce 16 659 '/' [trial] reduce 12 660 '/' [trial] reduce 16 661 '\n' [trial] reduce 12 662 '\n' [trial] reduce 16 663 ')' [trial] reduce 12 664 ')' [trial] reduce 16 665 ',' reduce 12 666 667 668state 42 669 vexp : vexp . '+' vexp (19) 670 vexp : vexp . '-' vexp (21) 671 vexp : vexp . '*' vexp (23) 672 vexp : dexp '*' vexp . (24) 673 vexp : vexp . '/' vexp (25) 674 675 . reduce 24 676 677 67843: reduce/reduce conflict (reduce 13, reduce 16) on '+' 67943: reduce/reduce conflict (reduce 13, reduce 16) on '-' 68043: reduce/reduce conflict (reduce 13, reduce 16) on '*' 68143: reduce/reduce conflict (reduce 13, reduce 16) on '/' 68243: reduce/reduce conflict (reduce 13, reduce 16) on '\n' 68343: reduce/reduce conflict (reduce 13, reduce 16) on ')' 684state 43 685 dexp : dexp . '+' dexp (10) 686 dexp : dexp . '-' dexp (11) 687 dexp : dexp . '*' dexp (12) 688 dexp : dexp . '/' dexp (13) 689 dexp : dexp '/' dexp . (13) 690 vexp : dexp . (16) 691 vexp : dexp . '+' vexp (20) 692 vexp : dexp . '-' vexp (22) 693 vexp : dexp . '*' vexp (24) 694 vexp : dexp . '/' vexp (26) 695 696 '+' [trial] reduce 13 697 '+' [trial] reduce 16 698 '-' [trial] reduce 13 699 '-' [trial] reduce 16 700 '*' [trial] reduce 13 701 '*' [trial] reduce 16 702 '/' [trial] reduce 13 703 '/' [trial] reduce 16 704 '\n' [trial] reduce 13 705 '\n' [trial] reduce 16 706 ')' [trial] reduce 13 707 ')' [trial] reduce 16 708 ',' reduce 13 709 710 711state 44 712 vexp : vexp . '+' vexp (19) 713 vexp : vexp . '-' vexp (21) 714 vexp : vexp . '*' vexp (23) 715 vexp : vexp . '/' vexp (25) 716 vexp : dexp '/' vexp . (26) 717 718 . reduce 26 719 720 721state 45 722 vexp : vexp . '+' vexp (19) 723 vexp : vexp '+' vexp . (19) 724 vexp : vexp . '-' vexp (21) 725 vexp : vexp . '*' vexp (23) 726 vexp : vexp . '/' vexp (25) 727 728 '*' shift 26 729 '/' shift 27 730 '+' reduce 19 731 '-' reduce 19 732 '\n' reduce 19 733 ')' reduce 19 734 735 736state 46 737 vexp : vexp . '+' vexp (19) 738 vexp : vexp . '-' vexp (21) 739 vexp : vexp '-' vexp . (21) 740 vexp : vexp . '*' vexp (23) 741 vexp : vexp . '/' vexp (25) 742 743 '*' shift 26 744 '/' shift 27 745 '+' reduce 21 746 '-' reduce 21 747 '\n' reduce 21 748 ')' reduce 21 749 750 751state 47 752 vexp : vexp . '+' vexp (19) 753 vexp : vexp . '-' vexp (21) 754 vexp : vexp . '*' vexp (23) 755 vexp : vexp '*' vexp . (23) 756 vexp : vexp . '/' vexp (25) 757 758 . reduce 23 759 760 761state 48 762 vexp : vexp . '+' vexp (19) 763 vexp : vexp . '-' vexp (21) 764 vexp : vexp . '*' vexp (23) 765 vexp : vexp . '/' vexp (25) 766 vexp : vexp '/' vexp . (25) 767 768 . reduce 25 769 770 771state 49 772 dexp : dexp . '+' dexp (10) 773 dexp : dexp . '-' dexp (11) 774 dexp : dexp . '*' dexp (12) 775 dexp : dexp . '/' dexp (13) 776 dexp : '-' dexp . (14) 777 778 . reduce 14 779 780 781state 50 782 dexp : dexp . '+' dexp (10) 783 dexp : dexp . '-' dexp (11) 784 dexp : dexp . '*' dexp (12) 785 dexp : dexp . '/' dexp (13) 786 dexp : '(' dexp . ')' (15) 787 788 '+' shift 51 789 '-' shift 52 790 '*' shift 53 791 '/' shift 54 792 ')' shift 34 793 . error 794 795 796state 51 797 dexp : dexp '+' . dexp (10) 798 799 DREG shift 14 800 CONST shift 5 801 '-' shift 29 802 '(' shift 30 803 . error 804 805 dexp goto 56 806 807 808state 52 809 dexp : dexp '-' . dexp (11) 810 811 DREG shift 14 812 CONST shift 5 813 '-' shift 29 814 '(' shift 30 815 . error 816 817 dexp goto 57 818 819 820state 53 821 dexp : dexp '*' . dexp (12) 822 823 DREG shift 14 824 CONST shift 5 825 '-' shift 29 826 '(' shift 30 827 . error 828 829 dexp goto 58 830 831 832state 54 833 dexp : dexp '/' . dexp (13) 834 835 DREG shift 14 836 CONST shift 5 837 '-' shift 29 838 '(' shift 30 839 . error 840 841 dexp goto 59 842 843 844state 55 845 dexp : dexp . '+' dexp (10) 846 dexp : dexp . '-' dexp (11) 847 dexp : dexp . '*' dexp (12) 848 dexp : dexp . '/' dexp (13) 849 vexp : '(' dexp ',' dexp . ')' (17) 850 851 '+' shift 51 852 '-' shift 52 853 '*' shift 53 854 '/' shift 54 855 ')' shift 60 856 . error 857 858 859state 56 860 dexp : dexp . '+' dexp (10) 861 dexp : dexp '+' dexp . (10) 862 dexp : dexp . '-' dexp (11) 863 dexp : dexp . '*' dexp (12) 864 dexp : dexp . '/' dexp (13) 865 866 '*' shift 53 867 '/' shift 54 868 '+' reduce 10 869 '-' reduce 10 870 '\n' reduce 10 871 ')' reduce 10 872 873 874state 57 875 dexp : dexp . '+' dexp (10) 876 dexp : dexp . '-' dexp (11) 877 dexp : dexp '-' dexp . (11) 878 dexp : dexp . '*' dexp (12) 879 dexp : dexp . '/' dexp (13) 880 881 '*' shift 53 882 '/' shift 54 883 '+' reduce 11 884 '-' reduce 11 885 '\n' reduce 11 886 ')' reduce 11 887 888 889state 58 890 dexp : dexp . '+' dexp (10) 891 dexp : dexp . '-' dexp (11) 892 dexp : dexp . '*' dexp (12) 893 dexp : dexp '*' dexp . (12) 894 dexp : dexp . '/' dexp (13) 895 896 . reduce 12 897 898 899state 59 900 dexp : dexp . '+' dexp (10) 901 dexp : dexp . '-' dexp (11) 902 dexp : dexp . '*' dexp (12) 903 dexp : dexp . '/' dexp (13) 904 dexp : dexp '/' dexp . (13) 905 906 . reduce 13 907 908 909state 60 910 vexp : '(' dexp ',' dexp ')' . (17) 911 912 . reduce 17 913 914 915State 8 contains 4 shift/reduce conflicts, 1 reduce/reduce conflict. 916State 16 contains 6 reduce/reduce conflicts. 917State 18 contains 5 shift/reduce conflicts. 918State 32 contains 4 shift/reduce conflicts. 919State 37 contains 2 shift/reduce conflicts, 4 reduce/reduce conflicts. 920State 39 contains 2 shift/reduce conflicts, 4 reduce/reduce conflicts. 921State 41 contains 6 reduce/reduce conflicts. 922State 43 contains 6 reduce/reduce conflicts. 923 924 92515 terminals, 5 nonterminals 92629 grammar rules, 61 states 927 928grammar parser grammar 929symbol# value# symbol 930 0 0 $end 931 1 256 error 932 2 257 DREG 933 3 258 VREG 934 4 259 CONST 935 5 43 '+' 936 6 45 '-' 937 7 42 '*' 938 8 47 '/' 939 9 260 UMINUS 940 10 10 '\n' 941 11 61 '=' 942 12 40 '(' 943 13 41 ')' 944 14 44 ',' 945 15 261 $accept 946 16 262 lines 947 17 263 dexp 948 18 264 vexp 949 19 265 line 950