mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* 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:
@@ -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. */
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user