Skip to content

Commit

Permalink
Remove unused array
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Nov 11, 2023
1 parent dfca953 commit c132c5d
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions ast.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,23 +275,16 @@ static const char *closure_use_flags[] = {
NULL
};

#define AST_VISIBILITY_FLAGS \
AST_FLAG(MODIFIER_PUBLIC), \
AST_FLAG(MODIFIER_PROTECTED), \
AST_FLAG(MODIFIER_PRIVATE)

#define AST_MODIFIER_FLAGS \
AST_VISIBILITY_FLAGS, \
AST_FLAG(MODIFIER_PUBLIC), \
AST_FLAG(MODIFIER_PROTECTED), \
AST_FLAG(MODIFIER_PRIVATE) \
AST_FLAG(MODIFIER_STATIC), \
AST_FLAG(MODIFIER_ABSTRACT), \
AST_FLAG(MODIFIER_FINAL), \
AST_FLAG(MODIFIER_READONLY)

static const char *visibility_flags[] = {
AST_VISIBILITY_FLAGS,
NULL
};

static const char *modifier_flags[] = {
AST_MODIFIER_FLAGS,
NULL
Expand Down

0 comments on commit c132c5d

Please sign in to comment.