Skip to content

Commit

Permalink
static: Fix on extern
Browse files Browse the repository at this point in the history
  • Loading branch information
obiwac committed Oct 29, 2024
1 parent 61ccf9f commit b51ac0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flamingo/grammar/static.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static inline int find_static_members_in_class(flamingo_t* flamingo, flamingo_sc
continue;
}

if (strcmp(type, "extern_declaration") == 0) {
if (strcmp(type, "proto") == 0) {
if (parse_function_declaration(flamingo, node, FLAMINGO_FN_KIND_EXTERN) < 0) {
return -1;
}
Expand Down

0 comments on commit b51ac0a

Please sign in to comment.