* src/symtab.h (struct semantic_type): Remove the tag 'semantic_type',

since it wasn't used; only the typedef name 'semantic_type' is needed.
Also, omit trailing white space.
This commit is contained in:
Paul Eggert
2006-12-18 17:27:23 +00:00
parent 5691bf57fb
commit db06f0ce72
3 changed files with 10 additions and 6 deletions

View File

@@ -44,9 +44,9 @@ typedef struct
static inline void
boundary_set (boundary *b, const char *f, int l, int c)
{
b->file = f;
b->line = l;
b->column = c;
b->file = f;
b->line = l;
b->column = c;
}
/* Return nonzero if A and B are equal boundaries. */

View File

@@ -150,7 +150,7 @@ void symbol_destructor_set (symbol *sym, const char *destructor, location loc);
const char *symbol_destructor_get (symbol *sym);
/** Get the grammar location of the computed \c \%destructor for \c sym.
\pre <tt>symbol_destructor_get (sym) != NULL</tt> */
location symbol_destructor_location_get (symbol *sym);
@@ -201,10 +201,10 @@ extern location startsymbol_location;
`-----------------*/
/** A semantic type and its associated \c \%destructor and \c \%printer.
Access the fields of this struct only through the interface functions in
this file. \sa symbol::destructor */
typedef struct semantic_type {
typedef struct {
/** The key, name of the semantic type. */
uniqstr tag;