added gramdiag to help fix bison grammar issues