mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
* src/reader.c (symbol_list_new): Be sure to initialize all the
fields.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-12-27 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* src/reader.c (symbol_list_new): Be sure to initialize all the
|
||||||
|
fields.
|
||||||
|
|
||||||
2001-12-27 Akim Demaille <akim@epita.fr>
|
2001-12-27 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
All the hacks using a final pseudo state are now useless.
|
All the hacks using a final pseudo state are now useless.
|
||||||
|
|||||||
@@ -44,8 +44,7 @@ typedef struct symbol_list
|
|||||||
const char *action;
|
const char *action;
|
||||||
int action_line;
|
int action_line;
|
||||||
bucket *ruleprec;
|
bucket *ruleprec;
|
||||||
}
|
} symbol_list;
|
||||||
symbol_list;
|
|
||||||
|
|
||||||
int lineno;
|
int lineno;
|
||||||
char **tags;
|
char **tags;
|
||||||
@@ -75,6 +74,8 @@ symbol_list_new (bucket *sym)
|
|||||||
res->next = NULL;
|
res->next = NULL;
|
||||||
res->sym = sym;
|
res->sym = sym;
|
||||||
res->line = lineno;
|
res->line = lineno;
|
||||||
|
res->action = NULL;
|
||||||
|
res->action_line = 0;
|
||||||
res->ruleprec = NULL;
|
res->ruleprec = NULL;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user