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:
parent
ef4d7628a9
commit
3b58402cb2
1 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue