mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +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,
|
needed,
|
||||||
/** Defined with %type or %token (good). */
|
/** Defined with %type or %token (good). */
|
||||||
declared,
|
declared,
|
||||||
} status;
|
} declaration_status;
|
||||||
|
|
||||||
enum code_props_type
|
enum code_props_type
|
||||||
{
|
{
|
||||||
@@ -144,7 +144,7 @@ struct sym_content
|
|||||||
int user_token_number;
|
int user_token_number;
|
||||||
|
|
||||||
symbol_class class;
|
symbol_class class;
|
||||||
status status;
|
declaration_status status;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Undefined user number. */
|
/** Undefined user number. */
|
||||||
@@ -321,7 +321,7 @@ typedef struct {
|
|||||||
|
|
||||||
/** Its status : "undeclared", "used" or "declared".
|
/** Its status : "undeclared", "used" or "declared".
|
||||||
It cannot be "needed". */
|
It cannot be "needed". */
|
||||||
status status;
|
declaration_status status;
|
||||||
|
|
||||||
/** Any \c %destructor and %printer declared for this
|
/** Any \c %destructor and %printer declared for this
|
||||||
semantic type. */
|
semantic type. */
|
||||||
|
|||||||
Reference in New Issue
Block a user