This utility processes the output produced by 'bison -v' to produce a
report which illustrates how the shift/reduce and reduce/reduce
conflicts in the grammar come about.

Usage :

bison -v fred.y
gramdiag fred.output > fred.report

