mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
fix for printers and destructors.
The previous "code_props: factor more" patch sends has_%printer etc. to m4, instead of has_printer. * src/output.c (prepare_symbol_definitions): Fix value of pname.
This commit is contained in:
@@ -447,7 +447,8 @@ prepare_symbol_definitions (void)
|
||||
int j;
|
||||
for (j = 0; j < CODE_PROPS_SIZE; ++j)
|
||||
{
|
||||
char const *pname = code_props_type_string (j);
|
||||
/* "printer", not "%printer". */
|
||||
char const *pname = code_props_type_string (j) + 1;
|
||||
code_props const *p = symbol_code_props_get (sym, j);
|
||||
SET_KEY2("has", pname);
|
||||
MUSCLE_INSERT_INT (key, !!p->code);
|
||||
|
||||
Reference in New Issue
Block a user