X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/34731471723c56a8596eadf2a2995d3ef4efc0f1..692d04cb6a220cada738abc1ff70686bb01c1ba6:/src/symtab.c diff --git a/src/symtab.c b/src/symtab.c index a2631852..fd1e481c 100644 --- a/src/symtab.c +++ b/src/symtab.c @@ -184,24 +184,6 @@ symbol_type_set (symbol *sym, uniqstr type_name, location loc) } } -/*-----------------------------------. -| Get the CLASS associated with SYM. | -`-----------------------------------*/ - -const char * -symbol_class_get_string (symbol *sym) -{ - if (sym->class) - { - if (sym->class == token_sym) - return "terminal"; - else if (sym->class == nterm_sym) - return "nonterminal"; - } - return "unknown"; -} - - /*-----------------------------------------. | Set the DESTRUCTOR associated with SYM. | `-----------------------------------------*/