mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
code_props: factor more.
* src/symtab.h, src/symtab.c (code_props_type_string): No longer static. * src/output.c (CODE_PROPS): Remove, we can now iterate on both the destructor and the printer. (SET_KEY2): New.
This commit is contained in:
@@ -100,11 +100,7 @@ symbol_new (uniqstr tag, location loc)
|
||||
return res;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------.
|
||||
| Name of the code_props type: %destructor or %printer. |
|
||||
`-------------------------------------------------------*/
|
||||
|
||||
static char const *
|
||||
char const *
|
||||
code_props_type_string (code_props_type kind)
|
||||
{
|
||||
switch (kind)
|
||||
|
||||
Reference in New Issue
Block a user