mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* data/glr.c [YYDEBUG] (YYLEFTMOST_STATE): Initialize the yyloc
member.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-10-14 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* data/glr.c [YYDEBUG] (YYLEFTMOST_STATE): Initialize the yyloc
|
||||
member.
|
||||
|
||||
2002-10-14 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/tables.c (table_ninf_remap): base -> tab.
|
||||
|
||||
12
data/glr.c
12
data/glr.c
@@ -1279,8 +1279,16 @@ yyresolveAction (yySemanticOption* yyopt, yyGLRStack* yystack,
|
||||
}
|
||||
|
||||
#if YYDEBUG
|
||||
/* FIXME: How can we initialize the lloc bit? */
|
||||
static yyGLRState YYLEFTMOST_STATE = { 0, 0, -1, NULL, 0, { NULL } };
|
||||
static yyGLRState YYLEFTMOST_STATE =
|
||||
{
|
||||
0, 0, -1, NULL, 0, { NULL },
|
||||
/* yyloc. */
|
||||
{
|
||||
#if YYLTYPE_IS_TRIVIAL
|
||||
]b4_location_if([ 0, 0, 0, 0])[
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
static void yyreportTree (yySemanticOption* yyx, int yyindent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user