/[bison]/bison/src/symtab.h
ViewVC logotype

Diff of /bison/src/symtab.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by akim, Sun Apr 7 17:42:31 2002 UTC revision 1.20 by akim, Sun Apr 7 17:43:21 2002 UTC
# Line 46  typedef enum Line 46  typedef enum
46    
47  typedef struct bucket  typedef struct bucket
48  {  {
   /* Needed for the hash table. */  
   struct bucket *link;  
   struct bucket *next;  
   
49    /* The key, name of the symbol. */    /* The key, name of the symbol. */
50    char *tag;    char *tag;
51    /* Its type. */    /* Its type. */
# Line 66  typedef struct bucket Line 62  typedef struct bucket
62    symbol_class class;    symbol_class class;
63  } bucket;  } bucket;
64    
65    /* A function to apply to each symbol. */
66  extern bucket *firstsymbol;  typedef bool (*bucket_processor) PARAMS ((bucket *));
67    
68  bucket *getsym PARAMS ((const char *));  bucket *getsym PARAMS ((const char *));
69    
70  void tabinit PARAMS ((void));  void buckets_new PARAMS ((void));
71  void free_symtab PARAMS ((void));  void buckets_do PARAMS ((bucket_processor processor, void *processor_data));
72    void buckets_free PARAMS ((void));
73    
74  #endif /* !SYMTAB_H_ */  #endif /* !SYMTAB_H_ */

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26