From 53b555eeb5939436a97b36436f28ce0a12549f9c Mon Sep 17 00:00:00 2001 From: Himbeer Date: Tue, 6 May 2025 11:52:06 +0200 Subject: Add missing visibility information to certain toplevels --- include/parse.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/parse.h') diff --git a/include/parse.h b/include/parse.h index aad1db9..8cb5f2c 100644 --- a/include/parse.h +++ b/include/parse.h @@ -115,6 +115,7 @@ struct ast_const { struct location loc; const char *name; + int ispub; struct expr value; }; @@ -129,6 +130,7 @@ struct ast_enum { struct location loc; struct expr init; + int ispub; struct ast_enumvar *variants; int variantsz, variantlen; }; @@ -145,6 +147,7 @@ struct ast_struct { const char *name; int align; + int ispub; struct ast_field *fields; int fieldsz, fieldlen; }; @@ -153,6 +156,7 @@ struct ast_union { struct location loc; const char *name; + int ispub; struct type *types; int typesz, typelen; }; -- cgit v1.2.3