]> git.saurik.com Git - bison.git/blobdiff - src/symtab.h
* src/symtab.c (symbol_free): Remove dead deactivated code:
[bison.git] / src / symtab.h
index 7ad6333330f2e17e7620831e747e2a5fbc7aa5d1..ecf28cd097195977dc62aaeb743e4fc5bf30c935 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef SYMTAB_H_
 # define SYMTAB_H_
 
+# include "struniq.h"
 # include "location.h"
 # include "assoc.h"
 
@@ -52,7 +53,7 @@ struct symbol_s
   location_t location;
 
   /* Its %type and associated printer and destructor.  */
-  char *type_name;
+  struniq_t type_name;
   char *destructor;
   location_t destructor_location;
   char *printer;
@@ -143,8 +144,8 @@ void symbols_new (void);
 /* A function to apply to each symbol. */
 typedef bool (*symbol_processor) (symbol_t *);
 
-/* Apply PROCESSOR to all the symbols.  PROCESSOR must return TRUE: on
-   FALSE, the processing stops.  */
+/* Apply PROCESSOR to all the symbols.  PROCESSOR must return true: on
+   false, the processing stops.  */
 void symbols_do (symbol_processor processor, void *processor_data);
 
 /* Free all the memory allocated for symbols.  */