Complain about any new shift/reduce conflicts in the grammar

Uncomment the "%expect" statement, there are no known Bison versions for which
it doesn't work and it's useful to fail the build if any new conflicts are
introduced.

Closes #478.
This commit is contained in:
Vadim Zeitlin 2015-07-25 19:06:53 +02:00
commit 3b58402cb2

View file

@ -13,11 +13,14 @@
* some point. Beware.
* ----------------------------------------------------------------------------- */
/*
Removed until we know more about the min versions of Bison and Yacc required for this
to work, see Byacc man page: http://invisible-island.net/byacc/manpage/yacc.html
/* There are 6 known shift-reduce conflicts in this file, fail compilation if any
more are introduced.
Please don't increase the number of the conflicts if at all possible. And if
you really have no choice but to do it, make sure you clearly document each
new conflict in this file.
*/
%expect 6
*/
%{
#define yylex yylex