mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
style: beware of collisions on status
* src/symtab.h (status): Rename as... (declaration_status): this, to avoid colliding with status, the argument of 'usage'. 'status' seems a tad too general to be used only here.
This commit is contained in:
@@ -72,7 +72,7 @@ typedef enum
|
||||
needed,
|
||||
/** Defined with %type or %token (good). */
|
||||
declared,
|
||||
} status;
|
||||
} declaration_status;
|
||||
|
||||
enum code_props_type
|
||||
{
|
||||
@@ -144,7 +144,7 @@ struct sym_content
|
||||
int user_token_number;
|
||||
|
||||
symbol_class class;
|
||||
status status;
|
||||
declaration_status status;
|
||||
};
|
||||
|
||||
/** Undefined user number. */
|
||||
@@ -321,7 +321,7 @@ typedef struct {
|
||||
|
||||
/** Its status : "undeclared", "used" or "declared".
|
||||
It cannot be "needed". */
|
||||
status status;
|
||||
declaration_status status;
|
||||
|
||||
/** Any \c %destructor and %printer declared for this
|
||||
semantic type. */
|
||||
|
||||
Reference in New Issue
Block a user