I had a collision in a later patch.
commit a108d84f883df77c5c32ae8875406f669d7fe38d
Author: Akim Demaille <[email protected]>
Date: Sun Jan 27 19:54:05 2019 +0100
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.
diff --git a/src/symtab.h b/src/symtab.h
index c2281126..8f4f5a1a 100644
--- a/src/symtab.h
+++ b/src/symtab.h
@@ -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. */