changeset 17743:af5ad573c665

oct-parse.in.yy: Add %expect declaration.
author John W. Eaton <jwe@octave.org>
date Wed, 23 Oct 2013 20:30:03 -0400
parents 4e225f952885
children d63878346099
files libinterp/parse-tree/oct-parse.in.yy
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/oct-parse.in.yy	Wed Oct 23 16:55:26 2013 -0700
+++ b/libinterp/parse-tree/oct-parse.in.yy	Wed Oct 23 20:30:03 2013 -0400
@@ -124,6 +124,11 @@
 
 // Bison declarations.
 
+// The grammar currently has 14 shift/reduce conflicts.  Ensure that
+// we notice if that number changes.
+
+%expect 14
+
 // Don't add spaces around the = here; it causes some versions of
 // bison to fail to properly recognize the directive.