X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/b143f4048fe39451ec739d956b4ca1f4fd8e694d..882be728b2481ed2f83805ab8d2cbbab2830f39c:/src/symtab.c diff --git a/src/symtab.c b/src/symtab.c index ce29dfc9..ebdf04c1 100644 --- a/src/symtab.c +++ b/src/symtab.c @@ -219,24 +219,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. | `-----------------------------------------*/