mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 02:03: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:
@@ -1,5 +1,9 @@
|
|||||||
2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
|
2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
* bootstrap: Sync from coreutils.
|
* bootstrap: Sync from coreutils.
|
||||||
(gnulib_extra_files): Add build-aux/announce.gen.
|
(gnulib_extra_files): Add build-aux/announce.gen.
|
||||||
(slurp): Adjust .gitignore files like .cvsignore files.
|
(slurp): Adjust .gitignore files like .cvsignore files.
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ typedef struct
|
|||||||
static inline void
|
static inline void
|
||||||
boundary_set (boundary *b, const char *f, int l, int c)
|
boundary_set (boundary *b, const char *f, int l, int c)
|
||||||
{
|
{
|
||||||
b->file = f;
|
b->file = f;
|
||||||
b->line = l;
|
b->line = l;
|
||||||
b->column = c;
|
b->column = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return nonzero if A and B are equal boundaries. */
|
/* 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);
|
const char *symbol_destructor_get (symbol *sym);
|
||||||
|
|
||||||
/** Get the grammar location of the computed \c \%destructor for \c sym.
|
/** Get the grammar location of the computed \c \%destructor for \c sym.
|
||||||
|
|
||||||
\pre <tt>symbol_destructor_get (sym) != NULL</tt> */
|
\pre <tt>symbol_destructor_get (sym) != NULL</tt> */
|
||||||
location symbol_destructor_location_get (symbol *sym);
|
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.
|
/** A semantic type and its associated \c \%destructor and \c \%printer.
|
||||||
|
|
||||||
Access the fields of this struct only through the interface functions in
|
Access the fields of this struct only through the interface functions in
|
||||||
this file. \sa symbol::destructor */
|
this file. \sa symbol::destructor */
|
||||||
typedef struct semantic_type {
|
typedef struct {
|
||||||
/** The key, name of the semantic type. */
|
/** The key, name of the semantic type. */
|
||||||
uniqstr tag;
|
uniqstr tag;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user