[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Minor bug in yyexpandGLRStack (glr.c) when YYSTACKEXPANDABLE is n ot
From: |
Akim Demaille |
Subject: |
Re: Minor bug in yyexpandGLRStack (glr.c) when YYSTACKEXPANDABLE is n ot defined |
Date: |
Tue, 29 Apr 2003 10:30:48 +0200 |
User-agent: |
Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3 (gnu/linux) |
Paul> Yakov Markovitch <address@hidden> writes:
>> Below is a trivial patch that fixes obvious typo in
>> yyexpandGLRStack code.
Paul> Thanks; installed.
I'm applying this patch to test it.
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/calc.at: Also test yacc.c and glr.c (but not lalr1.cc yet)
with %pure-parser and %locations to exercise the patch from Yakov
Markovitch below.
Index: tests/calc.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/calc.at,v
retrieving revision 1.54
diff -u -u -r1.54 calc.at
--- tests/calc.at 2 Mar 2003 11:14:07 -0000 1.54
+++ tests/calc.at 29 Apr 2003 08:08:48 -0000
@@ -536,6 +536,7 @@
AT_CHECK_CALC_LALR([%yacc])
AT_CHECK_CALC_LALR([%error-verbose])
+AT_CHECK_CALC_LALR([%pure-parser %locations])
AT_CHECK_CALC_LALR([%error-verbose %locations])
AT_CHECK_CALC_LALR([%error-verbose %locations %defines %name-prefix="calc"
%verbose %yacc])
@@ -571,6 +572,7 @@
AT_CHECK_CALC_GLR([%yacc])
AT_CHECK_CALC_GLR([%error-verbose])
+AT_CHECK_CALC_GLR([%pure-parser %locations])
AT_CHECK_CALC_GLR([%error-verbose %locations])
AT_CHECK_CALC_GLR([%error-verbose %locations %defines %name-prefix="calc"
%verbose %yacc])
@@ -607,6 +609,7 @@
# AT_CHECK_CALC_LALR1_CC([%yacc])
# AT_CHECK_CALC_LALR1_CC([%error-verbose])
+# AT_CHECK_CALC_LALR1_CC([%pure-parser %locations])
# AT_CHECK_CALC_LALR1_CC([%error-verbose %locations])
AT_CHECK_CALC_LALR1_CC([%error-verbose %locations %defines %name-prefix="calc"
%verbose %yacc])