* data/skeletons/glr2.cc (yyexpandGLRStackIfNeeded): Fix the
implementation when !YYSTACKEXPANDABLE.
---
 data/skeletons/glr2.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/data/skeletons/glr2.cc b/data/skeletons/glr2.cc
index 8c5fc396..885c57c4 100644
--- a/data/skeletons/glr2.cc
+++ b/data/skeletons/glr2.cc
@@ -1364,8 +1364,9 @@ class state_stack {
   }
  public:
 #else
-  bool yyexpandGLRStackIfNeeded() {
-    return yystateStack.spaceLeft() < YYHEADROOM;
+  bool yyexpandGLRStackIfNeeded ()
+  {
+    return spaceLeft () < YYHEADROOM;
   }
 #endif
 
-- 
2.29.2


Reply via email to