Lines Matching full:conflicts
1 # Exercising Bison on conflicts. -*- Autotest -*-
19 AT_BANNER([[Conflicts.]])
41 [[input.y:4.9: warning: rule useless in parser due to conflicts: e: /* empty */
45 [[input.y:4.9: warning: rule useless in parser due to conflicts
513 [[input.y: conflicts: 2 shift/reduce
523 [[input.y: conflicts: 2 shift/reduce
533 [[input.y: conflicts: 2 shift/reduce
543 ## Unresolved SR Conflicts. ##
546 AT_SETUP([Unresolved SR Conflicts])
557 [input.y: conflicts: 1 shift/reduce
562 [[State 5 conflicts: 1 shift/reduce
650 ## Resolved SR Conflicts. ##
653 AT_SETUP([Resolved SR Conflicts])
754 # When there are RR conflicts, some rules are disabled. Usually it is
787 [[input.y: conflicts: 1 reduce/reduce
788 input.y:4.6-8: warning: rule useless in parser due to conflicts: id: '0'
793 [[Rules useless in parser due to conflicts
798 State 1 conflicts: 1 reduce/reduce
904 [input.y: conflicts: 1 shift/reduce
905 input.y: error: expected 0 shift/reduce conflicts
941 [input.y: conflicts: 1 shift/reduce
942 input.y: error: expected 2 shift/reduce conflicts
948 ## %expect with reduce conflicts. ##
951 AT_SETUP([%expect with reduce conflicts])
961 [input.y: conflicts: 1 reduce/reduce
962 input.y: error: expected 0 reduce/reduce conflicts
1005 [[input.y: conflicts: 4 shift/reduce
1065 # rules that are then unused, and don't report conflicts in those states. Test
1096 /* Make sure remaining S/R and R/R conflicts are still reported correctly even
1107 [[input.y: conflicts: 1 shift/reduce, 1 reduce/reduce
1108 input.y:12.5-20: warning: rule useless in parser due to conflicts: resolved_conflict: 'a' unreachable1
1109 input.y:20.5-20: warning: rule useless in parser due to conflicts: unreachable1: 'a' unreachable2
1110 input.y:21.4: warning: rule useless in parser due to conflicts: unreachable1: /* empty */
1111 input.y:25.13: warning: rule useless in parser due to conflicts: unreachable2: /* empty */
1112 input.y:25.16: warning: rule useless in parser due to conflicts: unreachable2: /* empty */
1113 input.y:31.5-7: warning: rule useless in parser due to conflicts: reported_conflicts: 'a'
1114 input.y:32.4: warning: rule useless in parser due to conflicts: reported_conflicts: /* empty */
1118 [[Rules useless in parser due to conflicts
1132 State 4 conflicts: 1 shift/reduce
1133 State 5 conflicts: 1 reduce/reduce
1259 [[input-keep.y: conflicts: 2 shift/reduce, 2 reduce/reduce
1260 input-keep.y:22.4: warning: rule useless in parser due to conflicts: unreachable1: /* empty */
1261 input-keep.y:26.16: warning: rule useless in parser due to conflicts: unreachable2: /* empty */
1262 input-keep.y:32.5-7: warning: rule useless in parser due to conflicts: reported_conflicts: 'a'
1263 input-keep.y:33.4: warning: rule useless in parser due to conflicts: reported_conflicts: /* empty */
1270 ## Solved conflicts report for multiple reductions in a state. ##
1273 AT_SETUP([[Solved conflicts report for multiple reductions in a state]])
1347 # Used to abort when trying to resolve conflicts as %nonassoc error actions for
1446 [[sr-rr.y: conflicts: 1 shift/reduce, 1 reduce/reduce
1448 AT_BISON_CHECK([[-Wno-conflicts-sr sr-rr.y]], [[0]], [[]],
1449 [[sr-rr.y: conflicts: 1 reduce/reduce
1451 AT_BISON_CHECK([[-Wno-conflicts-rr sr-rr.y]], [[0]], [[]],
1452 [[sr-rr.y: conflicts: 1 shift/reduce
1479 # Count actual conflicts.
1480 conflicts=
1484 conflicts="1 shift/reduce"
1488 if test -n "$conflicts"; then
1489 conflicts="$conflicts, "
1491 conflicts="${conflicts}1 reduce/reduce"
1500 echo "$file: conflicts: $conflicts" > experr