From: Paul Eggert Date: Mon, 18 Dec 2006 17:27:23 +0000 (+0000) Subject: * src/symtab.h (struct semantic_type): Remove the tag 'semantic_type', X-Git-Tag: v2.3b~218 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/db06f0ce72e6a871d57d9e3f0d6c510728fe3e21 * 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. --- diff --git a/ChangeLog b/ChangeLog index 05718a8d..8f996fa1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-12-18 Paul Eggert + * 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. (gnulib_extra_files): Add build-aux/announce.gen. (slurp): Adjust .gitignore files like .cvsignore files. diff --git a/src/location.h b/src/location.h index 542c6320..d8ce03ba 100644 --- a/src/location.h +++ b/src/location.h @@ -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. */ diff --git a/src/symtab.h b/src/symtab.h index c2949233..9d5604af 100644 --- a/src/symtab.h +++ b/src/symtab.h @@ -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 symbol_destructor_get (sym) != NULL */ 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;